Unique finite automaton

from Wikipedia, the free encyclopedia

The unique finite state machine ( English unambiguous finite automaton , UFA ) takes its position between the deterministic finite-state machine ( DEA , engl. DFA) and the non-deterministic finite automaton ( NFA , engl. NFA) a.

A UFA is basically an NFA, with the restriction that for each input word only one path through the states can lead to the set of accepting states. Like the NFA, the UFA is also nondeterministic and may leave a state in several ways with the same symbol.

Formal definition

Let = an NFA.

  • is a finite set of states.
  • is the input alphabet.
  • is the start state.
  • is a (finite) set of possible accepting states.

is a UFA if and only for everyone

  • ,
  • ,
  • applies

annotation

The formal definition says that with the UFA, two different intermediate states may not be reached for any word that is accepted by the machine.