Class PushdownAutomaton<TLabel>
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
This class is a state machine that has the ability to remember previous states and transition back to them (FIFO).
[Version(1, 4, 0)]
public class PushdownAutomaton<TLabel> : StateMachine<TLabel>
Type Parameters
TLabel
The type of state labels.
- Inheritance
-
StateMachine<TLabel>PushdownAutomaton<TLabel>
- Inherited Members
- Extension Methods
Methods
- Pop()
Pops a state from the stack and switches to it.
- Push(TLabel)
Pushes the current state onto the stack, and transitions to the next state.