1 / 9

Deterministic Finite State Automata

Deterministic Finite State Automata. DFA construction and operation. DFA Construction. Input Alphabet : ∑ is finite set of inputs State Set : Q is finite set of states Transition Function : δ : ∑  Q  Q is transition function which takes current input and state and produces next state

Download Presentation

Deterministic Finite State Automata

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Deterministic Finite State Automata DFA construction and operation

  2. DFA Construction • Input Alphabet : ∑ is finite set of inputs • State Set : Q is finite set of states • Transition Function : δ : ∑Q  Q is transition function which takes current input and state and produces next state • Start State : S  Q is start state • Accepting States : F is set of accepting states.

  3. DFA Operation • Given a DFA M and an input string X = x1 x2 . . . Xn • M begins in its start state q0 = S • M produces a state sequence q1 , q2, . . . qn by applying its transition function δ to the next input and current state • where q1 = δ(x1,S) , q2 = δ(x1,q1) , . . . , qn = δ(xn,qn-1) • M accepts string X if qn is in its set of legal final states. Otherwise X is rejected.

  4. Example 2 1 4 3 4

  5. Example

  6. Example

  7. Example

  8. Example

  9. Example

More Related