Pegasus::Automata::State(V, T)
Inherits Reference / Object
A generic state for an automaton, with transitions labeled by T and values of V.
Constructors
new(*, id : Int64, data : V, transitions : Hash(T, Pegasus::Automata::State(V, T)) = Hash(T, self).new)
Creates a new state with the given ID, data, and transitions.