next up previous contents
Next: FA with moves Up: Finite Automata and Regular Previous: Deterministic FAs

Non-deterministic FAs

A non-deterministic FA is an FA with more than one mapping for a single state-input pair.

An example of a non-deterministic FA is presented which accepts strings with either two consecutive zeros or two consecutive ones[*].

Question as to which transition to make in response to input. Automata forks to produce parallel automata parsing input. Input is accepted if any parallel automata accepts. Otherwise reject.

This following table describes the non-deterministic FA:

\begin{displaymath}
\centerline{
 \begin{tabular}
{\vert l\vert l\vert l\vert} \...
 ...tyset $\space & $\{q_0, q_1\}$\space \\  \hline
 \end{tabular}}\end{displaymath} (1)

These equations and the following table describe the deterministic equivalent:

\begin{displaymath}
M^{\prime} = ( Q^{\prime}, \{0,1\}, \delta^{\prime}, [q_0], F^{\prime})\end{displaymath} (2)
\begin{displaymath}
Q^{\prime} = \{ [q_0],[q_1],[q_0,q_1], \emptyset \}\end{displaymath} (3)
\begin{displaymath}
\begin{tabular}
{\vert l\vert l\vert l\vert} \hline
 $\delta...
 ...[q_0, q_1]$\space & $[q_0,q_1]$\space \\  \hline
 \end{tabular}\end{displaymath} (4)


root
6/8/1998