Question 10.7.9: A regular expression is given. Construct a nondeterministic ......

A regular expression is given. Construct a nondeterministic finite automaton that corresponds to the same set.

Step-by-Step
The 'Blue Check Mark' means that this solution was answered by an expert.
Learn more on how do we answer questions.

This automaton is constructed inductively, following the definition of a regular expression. If the regular expression is a letter or e, the corresponding automaton has one edge. If the regular expression is Λ, the automaton has no edges at all. A union is implemented as follows: (Fig 1)

Here the picture for the union of three sets is drawn. The rectangles show the corresponding nondeterministic finite automata; their initial and final vertices are shown. New arrows (there are six of them) are unlabeled. Concatenation corresponds to the following picture: (Fig 2)

Finally, iteration corresponds to the picture (Fig 3)

1
2
3

Related Answered Questions

Question: 10.2.1

Verified Answer:

A problem arises when the pattern contains repetit...
Question: 10.7.11

Verified Answer:

Assume that the nondeterministic automaton has ver...
Question: 10.7.12

Verified Answer:

In the Floyd algorithm for the shortest path (see ...
Question: 10.7.8

Verified Answer:

To prove this, we need the notion of a nondetermin...
Question: 10.7.6

Verified Answer:

((a\mid b\mid c)\ast bac (a \mid b \mid c)...
Question: 10.7.5

Verified Answer:

The expression b∗ defines the set of all strings w...