Non-Deterministic Finite Automata
Non-Deterministic Finite Automata
SlideMake.com
Introduction to Non-Deterministic Finite Automata
• NFAs are widely used in automata theory, formal language theory, and
compiler design.
Definition of Non-Deterministic Finite Automata
• In NFAs, the transition function δ can lead to multiple possible next states
for a given input symbol and current state.
• If there is at least one path that leads to an accepting state, the NFA accepts
the input string.
• NFAs can have multiple transitions for the same input symbol and state,
while DFAs have only one.
• NFAs can have ε-transitions, allowing them to move to the next state
without consuming any input.
• The NFA accepts the input string if any of the possible computation paths
reach an accepting state.
• The transitions in the DFA are computed based on the transitions of the
NFA and the ε-closure of states.
Applications of NFAs