1 / 88

Non Deterministic Automata

Non Deterministic Automata. Nondeterministic Finite Accepter (NFA). Alphabet =. Nondeterministic Finite Accepter (NFA). Alphabet =. Two choices. Nondeterministic Finite Accepter (NFA). Alphabet =. Two choices. No transition. No transition. First Choice. First Choice. First Choice.

chul
Download Presentation

Non Deterministic 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. Non Deterministic Automata

  2. Nondeterministic Finite Accepter (NFA) Alphabet =

  3. Nondeterministic Finite Accepter (NFA) Alphabet = Two choices

  4. Nondeterministic Finite Accepter (NFA) Alphabet = Two choices No transition No transition

  5. First Choice

  6. First Choice

  7. First Choice

  8. First Choice “accept”

  9. Second Choice

  10. Second Choice

  11. Second Choice No transition: the automaton hangs

  12. Second Choice “reject”

  13. Observation An NFA accepts a string if there is a computation of the NFA that accepts the string

  14. Example is accepted by the NFA:

  15. Lambda Transitions

  16. (read head doesn’t move)

  17. “accept” String is accepted

  18. Language accepted:

  19. Another NFA Example

  20. “accept”

  21. Another String

  22. “accept”

  23. Language accepted

  24. Another NFA Example

  25. Language accepted

  26. Formal Definition of NFAs Set of states, i.e. Input aplhabet, i.e. Transition function Initial state Final states

  27. Transition Function

  28. Extended Transition Function

  29. Formally It holds if and only if there is a walk from to with label

  30. The Language of an NFA

More Related