Class PushdownAutomaton<S,A,G>
java.lang.Object
org.episteme.core.mathematics.discrete.PushdownAutomaton<S,A,G>
Pushdown Automaton (PDA).
A PDA is defined by M = (Q, Σ, Γ, δ, q₀, Z₀, F) where:
- Q is a finite set of states
- Σ is the input alphabet
- Γ is the stack alphabet
- δ: Q × (Σ ∪ {ε}) × Γ → P(Q × Γ*) is the transition function
- q₀ ∈ Q is the initial state
- Z₀ ∈ Γ is the initial stack symbol
- F ⊆Q is the set of accepting states
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PushdownAutomaton
-
-
Method Details
-
addState
-
addTransition
-
accepts
-