Deterministic pushdown automaton
In automata theory, a deterministic pushdown automaton (DPDA or DPA) is a variation of the pushdown automaton. The class of deterministic pushdown automata accepts the deterministic context-free languages, a proper subset of context-free languages. Machine transitions are based on the current state and input symbol, and also the current topmost symbol of the stack. Symbols lower in the stack are not visible and have no immediate effect. Machine actions include pushing, popping, or replacing the stack top. A deterministic pushdown automaton has at most one legal transition for the same combination of input symbol, state, and top stack symbol. This is where it differs from the... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
In automata theory, a deterministic pushdown automaton (DPDA or DPA) is a variation of the pushdown automaton. The class of deterministic pushdown automata accepts the deterministic context-free languages, a proper subset of context-free languages. Machine transitions are based on the current state and input symbol, and also the current topmost symbol of the stack. Symbols lower in the stack are not visible and have no immediate effect. Machine actions include pushing, popping, or replacing the stack top. A deterministic pushdown automaton has at most one legal transition for the same combination of input symbol, state, and top stack symbol. This is where it differs from the nondeterministic pushdown automaton. M=(Q\,, \Sigma\,, \Gamma\,, q_0\,, Z_0\,, A\,, \delta\,) where Q\, is a finite set of states \Sigma\, is a finite set of input symbols \Gamma\, is a finite set of stack symbols q_0\,\in Q\, is the start state Z_0\,\in\Gamma\, is the starting stack symbol A\,\subseteq Q\, , where A is the set of accepting, or final, states \delta\, is a transition function, where \delta\colon(Q\, \times ( \Sigma\, \cup \left \{ \varepsilon\, \right \} ) \times \Gamma\,) \longrightarrow \mathcal{P}(Q \times \Gamma ^{*}) where * is the Kleene star, meaning that \Gamma^{*} is "the set of all finite strings (including the empty string \varepsilon ) of elements of \Gamma ", \varepsilon denotes the empty string, and \mathcal{P}(X) is the power set of a set X . M is deterministic if it satisfies both the following conditions: For any q \in Q, a \in \Sigma \cup \left \{ \varepsilon \right \}, x \in \Gamma , the set \delta(q,a,x)\, has at most one element. For any q \in Q, x \in \Gamma , if \delta(q, \varepsilon, x) \not= \emptyset\, , then \delta\left( q,a,x \right) = \emptyset for every a \in \Sigma. There are two possible acceptance criteria: acceptance by empty stack and acceptance by final state. The two are not equivalent for the deterministic pushdown automaton (although they are for the non-deterministic pushdown automaton). The languages accepted by empty stack are those languages that are accepted by final state and are prefix-free: no word in the language is the prefix of another word in the language. The usual acceptance criterion is final state, and it is this acceptance criterion which is used to define the deterministic context-free languages. Géraud Sénizergues (1997) proved that the equivalence problem for deterministic PDA (i.e. given two deterministic PDA A and B, is L(A)=L(B)?) is decidable, a proof that earned him the 2002 Gödel Prize. For nondeterministic PDA, equivalence is undecidable. ==Further reading==
Cite this
"Deterministic pushdown automaton". 1785329360. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1366686375 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy