Deterministic Finite Automata (DFA) Nondeterministic Finite Automata
Deterministic Finite Automata (DFA) Nondeterministic Finite Automata
Deterministic Finite Automata (DFA) Nondeterministic Finite Automata
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
N<br />
E<br />
E<br />
H<br />
G<br />
<br />
F<br />
E<br />
'<br />
D<br />
<br />
<br />
E<br />
e<br />
E<br />
<br />
d<br />
¦<br />
%<br />
F E<br />
<br />
C<br />
%<br />
B<br />
'<br />
<br />
E F<br />
M<br />
A<br />
%<br />
E <br />
F E<br />
K<br />
C<br />
H M<br />
<br />
E<br />
B<br />
D<br />
<br />
N<br />
E<br />
Transition diagrams<br />
are a graphical notation for FAs.<br />
A transition diagram for a NFA<br />
1. For each state in<br />
2. if<br />
labelled<br />
there is a node,<br />
is a graph s.t.<br />
then (and only then) there is an arc from<br />
M, (we allow ourselves to collate multiple arcs between the same<br />
nodes into a single one labelled with a list)<br />
3. there is an arrow without source node into the start state,<br />
4. nodes representing accepting states are marked with double<br />
circles.<br />
a,b<br />
to<br />
b<br />
b<br />
a<br />
02140 Languages and Parsing, MF, Fall 2004 – p.19/22<br />
Transition tables<br />
Do now assign sets of states:<br />
' Q<br />
'<br />
E <br />
e<br />
%<br />
<br />
E<br />
02140 Languages and Parsing, MF, Fall 2004 – p.20/22