epsilonNFA
An epsilon NFA (ε-NFA) is a nondeterministic finite automaton that allows epsilon transitions—transitions that can be taken without consuming an input symbol. These epsilon moves enable the machine to change states spontaneously, without reading input.
Formally, an ε-NFA is a 5-tuple (Q, Σ, δ, q0, F) where Q is a finite set of states,
An important concept for ε-NFAs is the ε-closure. The ε-closure of a set S of states, denoted
A string w ∈ Σ* is accepted by the ε-NFA if there exists a path that starts in q0,
ε-NFAs recognize exactly the regular languages. Any ε-NFA can be converted to an equivalent DFA via an
Applications of ε-NFAs include modeling complex regular expressions and serving as a convenient intermediate formalism in