UnindexedFA
Core methods of any automaton.
- Type Params
- S
Type representing states.
- T
Type representing transition labels.
- Z
Type of style options for Graphviz export
Value members
Abstract methods
Returns true
if this automaton accepts the given string.
Returns true
if this automaton accepts the given string.
Return the pairs comprising all unlabelled transitions.
Return the pairs comprising all unlabelled transitions.
Perform some action for each epsilon transition in the automaton. Note that in many (deterministic) automata, this method is a no-op, but in included for an easy consistency.
Perform some action for each epsilon transition in the automaton. Note that in many (deterministic) automata, this method is a no-op, but in included for an easy consistency.
Perform some action for each final state in the automaton.
Perform some action for each final state in the automaton.
Perform some action for each initial state in the automaton.
Perform some action for each initial state in the automaton.
Perform some action for each state in the automaton.
Perform some action for each state in the automaton.
Perform some action for each transition in the automaton.
Perform some action for each transition in the automaton.
Returns whether the given state s
is final in this automaton.
Returns whether the given state s
is final in this automaton.
Returns whether the given state s
is initial in this automaton.
Returns whether the given state s
is initial in this automaton.
Derive a new isomorphic automaton from this one by applying transforms to the states and transitions. This method does not check that either map is injective: if they are not, then the result may be unpredictable.
Derive a new isomorphic automaton from this one by applying transforms to the states and transitions. This method does not check that either map is injective: if they are not, then the result may be unpredictable.
Derive a new isomorphic automaton from this one by applying
transforms to the states. This method does not check that the
stateMap
is injective: if it is not, then the result may have
separate states which cannot be distinguished.
Derive a new isomorphic automaton from this one by applying
transforms to the states. This method does not check that the
stateMap
is injective: if it is not, then the result may have
separate states which cannot be distinguished.
Derive a new isomorphic automaton from this one by applying
transforms to the transitions. This method does not check that the
transitionMap
is injective: if it is not, then the result may have
separate transitions which cannot be distinguished.
Derive a new isomorphic automaton from this one by applying
transforms to the transitions. This method does not check that the
transitionMap
is injective: if it is not, then the result may have
separate transitions which cannot be distinguished.
Return the triples comprising all labelled transitions.
Return the triples comprising all labelled transitions.
Returns the (possibly empty, and in deterministic implementations
at most singleton) set of states into which the automaton could
transition starting from s
via a transition labelled t
.
Returns the (possibly empty, and in deterministic implementations
at most singleton) set of states into which the automaton could
transition starting from s
via a transition labelled t
.
Inherited methods
Use Graphviz to render this object as specified.
Use Graphviz to render this object as specified.
- Inherited from
- Graphable