Counter Automaton
   HOME

TheInfoList



OR:

In computer science, more particular in the theory of formal languages, a counter automaton, or counter machine, is a pushdown automaton with only two symbols, A and the initial symbol in \Gamma, the finite set of stack symbols. Equivalently, a counter automaton is a nondeterministic finite automaton with an additional memory cell that can hold one nonnegative integer number (of unlimited size), which can be incremented, decremented, and tested for being zero.


Properties

The class of counter automata can recognize a proper superset of the
regular The term regular can mean normal or in accordance with rules. It may refer to: People * Moses Regular (born 1971), America football player Arts, entertainment, and media Music * "Regular" (Badfinger song) * Regular tunings of stringed instrum ...
and a subset of the deterministic context free languages. For example, the language \ is a non-regularby the pumping lemma for regular languages language accepted by a counter automaton: It can use the symbol A to count the number of as in a given input string x (writing an A for each a in x), after that, it can delete an A for each b in x. A two-counter automaton, that is, a two-stack Turing machine with a two-symbol alphabet, can simulate an arbitrary Turing machine.


Notes


References

{{DEFAULTSORT:Counter Automaton Automata (computation) Models of computation