Pushdown Automata (PDA)
Print this page
First | Last | Prev | Next
The input head is read-only and may only move from left to right, one symbol (or cell) at a time. In each step, the PDA pops the top symbol off the stack; based on this symbol, the input symbol it is currently reading, and its present state, it can push a sequence of symbols onto the stack, move its read-only head one cell (or symbol) to the right, and enter a new state, as defined by the transition rules of the PDA.

PDA are nondeterministic, by default. That is, - transitions are also allowed in which the PDA can pop and push, and change state without reading the next input symbol or moving its read-only head. Besides this, there may be multiple options for possible next moves.

Formal Definitions : Formally, a PDA M is a 7-tuple M =
where,

  • is a finite set of states,
  • is a finite set of input symbols (input alphabets),
  • is a finite set of stack symbols (stack alphabets),
  • is a transition function from to subset of
First | Last | Prev | Next