Content deleted Content added
No edit summary Tags: Mobile edit Mobile web edit |
ClueBot NG (talk | contribs) m Reverting possible vandalism by 145.94.188.124 to version by I dream of horses. Report False Positive? Thanks, ClueBot NG. (3624221) (Bot) |
||
Line 1:
In the [[theory of computation]], a '''generalized nondeterministic finite automaton''' ('''GNFA'''), also known as an '''expression automaton''' or a '''generalized nondeterministic finite state machine''', is a variation of a
[[nondeterministic finite automaton]] (NFA) where each transition is labeled with any [[regular expression]]. The GNFA reads blocks of symbols from the input which constitute a string as defined by the regular expression on the transition. There are several differences between a standard finite state machine and a generalized nondeterministic finite state machine. A GNFA must have only one start state and one accept state, and these cannot be the same state, whereas a NFA or DFA both may have several accept states, and the start state can be an accept state. A GNFA must have only one transition between any two states, whereas a NFA or DFA both allow for numerous transitions between states. In a GNFA, a state has a single transition to every state in the machine, although often it is a convention to ignore the transitions that are labelled with the empty set when drawing generalized nondeterministic finite state machines
==Formal definition==
|