05 - Lecture 5 Nondeterministic Finite Automata In a DFA each symbol read causes a transition to the next state which is completely determined by

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Lecture 5: Nondeterministic Finite Automata In a DFA, each symbol read causes a transition to the next state, which is completely determined by the cur- rent state and current symbol (i.e., there is ex- actly one next state). In an NFA, some state may have more than one outgoing edge labeled with the same symbol some edges may be labeled with e , the empty word. Therefore, an input string may drive the automaton through more than one path. In addition, some state may not have any outgoing edge labeled with a particular symbol (can get stuck). 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Nondeterministic fnite automata (NFA) NFA are not realistic models of computers. They are only a convenient speci±cation of ±nite au- tomata – NFA are much easier to design than DFA. We will show in the next lecture that every NFA can be converted into an equivalent DFA; that is, non-determinism does not provide additional computation power. 2
Background image of page 2
Nondeterministic fnite automata (NFA) Example: L =( ab aba ) DFA: a a a,b b a b b a b NFAs: 1 q q 2 q 0 q 01 q q 2 b a e a b a b a 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/22/2011 for the course COMP 272 taught by Professor Prof.tai during the Spring '10 term at HKUST.

Page1 / 7

05 - Lecture 5 Nondeterministic Finite Automata In a DFA each symbol read causes a transition to the next state which is completely determined by

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online