Alternating finite automaton

Alternating finite automaton

In automata theory, an alternating finite automaton (AFA) is a nondeterministic finite automaton whose transitions are divided into "existential" and "universal" transitions. For example, let "A" be an alternating automaton.

* For an existential transition (q, a, q_1 vee q_2), "A" nondeterministically chooses to switch the state to either q_1 or q_2, reading "a". Thus, behaving like a regular nondeterministic finite automaton.
* For a universal transition (q, a, q_1 wedge q_2), "A" moves to q_1 and q_2, reading "a", simulating the behavior of a parallel machine.

Note that due to the universal quantification a run is represented by a run "tree". "A" accepts a word "w", if there "exists" a run tree on "w" such that "every" path ends in an accepting state.

A basic theorem tells that any AFA is equivalent to an non-deterministic finite automaton (NFA) by performing a similar kind of powerset construction as it is used for the transformation of an NFA to a deterministic finite automaton (DFA). This construction converts an AFA with "k" states to an NFA with up to 2^k states.

An alternative model which is frequently used is the one where Boolean combinations are represented as clauses. For instance, one could assume the combinations to be in DNF so that {{q_1}{q_2,q_3}} would represent q_1 vee (q_2 wedge q_3). The state tt (true) is represented by {{}} in this case and ff (false) by emptyset.This clause representation is usually more efficient.

Formal Definition

An alternating finite automaton (AFA) is a 6-tuple,(S(exists), S(forall), Sigma, delta, P_0, F), where

*S(exists) is a finite set of existential states. Also commonly represented as S(vee).
*S(forall) is a finite set of universal states. Also commonly represented as S(wedge).
* Sigma is a finite set of input symbols.
* delta is a set of transition functions to next state (S(exists) cup S(forall)) imes (Sigma cup { varepsilon } ) o 2^{S(exists) cup S(forall)}.
* P_0 is the initial (start) state, such that P_0 in S(exists) cup S(forall).
* F is a set of accepting (final) states such that F subseteq S(exists) cup S(forall).


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Complementation of Büchi automaton — In automata theory, complementation of a Büchi automaton is construction of another Büchi automaton that recognizes complement of the ω regular language recognized by the given Büchi automaton. Existence of algorithms for this construction proves …   Wikipedia

  • Block cellular automaton — The Margolus neighborhood for a two dimensional block cellular automaton. The partition of the cells alternates between the set of 2 × 2 blocks indicated by the solid blue lines, and the set of blocks indicated by the dashed red lines. A block… …   Wikipedia

  • Regular language — In theoretical computer science, a regular language is a formal language (i.e., a possibly infinite set of finite sequences of symbols from a finite alphabet) that satisfies the following equivalent properties: * it can be accepted by a… …   Wikipedia

  • Langage rationnel — Les langages rationnels ou langages réguliers ou encore langages reconnaissables peuvent être décrits de plusieurs façons équivalentes: ce sont les langages décrits par les expressions régulières ou rationnelles,d où le nom de langages réguliers; …   Wikipédia en Français

  • AFA — is a three letter acronym that may refer to the following organizations: * Aborigines Friends Association * Admiral Farragut Academy * Advertising Federation of America * Agentur für Arbeit * Air Force Academy * Air Force Association * Amateur… …   Wikipedia

  • List of terms relating to algorithms and data structures — The [http://www.nist.gov/dads/ NIST Dictionary of Algorithms and Data Structures] is a reference work maintained by the U.S. National Institute of Standards and Technology. It defines a large number of terms relating to algorithms and data… …   Wikipedia

  • Список терминов, относящихся к алгоритмам и структурам данных —   Это служебный список статей, созданный для координации работ по развитию темы.   Данное предупреждение не устанавливается на информационные списки и глоссарии …   Википедия

  • Список терминов — Список терминов, относящихся к алгоритмам и структурам данных   Это сл …   Википедия

  • Krohn–Rhodes theory — In mathematics and computer science, Krohn Rhodes theory is an approach to the study of finite semigroups and automata that seeks to decompose them in terms of elementary components. These turn out to correspond to finite aperiodic semigroups and …   Wikipedia

  • Turing machine — For the test of artificial intelligence, see Turing test. For the instrumental rock band, see Turing Machine (band). Turing machine(s) Machina Universal Turing machine Alternating Turing machine Quantum Turing machine Read only Turing machine… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”