Readonly
factoryReadonly
finalsReadonly
initialThe initial state of the FA.
Creates a new state.
TooManyNodesError May be thrown if the number of created nodes exceeds some limit.
Makes the given state behave like a final state of this FA.
This does not necessarily mean that the given state will be a final state. I.e. calling makeFinal(s)
does not
necessitate that isFinal(s)
is true.
The implementation has to guarantee that calling this method for the same state more than once is allowed.
An FA builder has the responsibility of constructing a finite automaton.
The constructed FA is always owned by the builder.