Professional Documents
Culture Documents
Introduction
1
Lecture 4
Amna Iftikhar
2
Non Deterministic Finite Automata
NFA’s
8 A non-deterministic finite automaton (NFA) over an alphabet Σ is a
finite directed graph with each node having zero or more edges,
8 Multiple edges may be emitted from the same node with the same
label.
8 Some letters may not have an edge associated with them. Strings
following such paths are not recognised.
Non-determinism
8 If an edge is labelled with the empty string , then we can travel
the edge without consuming an input letter. Effectively we could
be in either state, and so the possible paths could branch.
8 If there are two edges with the same label, we can take either path.