A variant of NFA where -transitions are allowed. Denoted as NFA-.
More flexible than an NFA. Does not increase computational power compared to DFA or NFA. Useful for simplifying automata construction, especially when building from regular expressions.
Lambda Transition
A type of transition where the automaton can move from one state to another without consuming any input symbol. Referred to as “-transition”. Labelled as on the transition diagram.
Definition
An NFA- is defined as a 5-tuple: where:
- - finite set of states
- - input alphabet
- - start state
- - set of accepting states
- - transition function
The only difference from a standard NFA is that the transition function can also take as input.
Lambda-Closure
Set of all states reachable from a given state (or set of states) using only -transitions. Referred to as -Closure.
Suppose is a set of states (). satisfies:
Every state in is included in- iff and
- No other states are included
Extended Transition Function
Properties:
Acceptance
A string is accepted iff there exists a sequence of transitions (including -transitions) from the start state to an accepting state that corresponds to the input string.
A string is accepted iff .