What is the epsilon NFA?
Overview
An epsilon nondeterministic finite automaton (NFA) has null or epsilon transitions from one state to another. Epsilon NFA is also called a null NFA or an NFA lambda.
A regular expression for a language forms an epsilon NFA. This epsilon NFA then converts to a simple NFA. We then use the simple NFA to make a deterministic finite automaton (DFA).
Null closure
We require null closure to convert an epsilon NFA to an NFA. Moreover, it shows us the states we can transcend due to a null transition.
Note: We can visit here to learn how to convert an epsilon NFA to NFA.
Let's suppose an NFA
is the finite set of states is the input symbols is the start state is the transition function is the final state
The null closure of
- For every
,
Example
Consider the following epsilon NFA, where
The null closure of the NFA is as follows:
Null closure
State | Set |
q0 | {q0, q1, q3} |
q1 | {q1, q3} |
q2 | {q2} |
q3 | {q3} |
We determine this null closure by how a transition transcends from one state to another with a null input.
Free Resources