Constructor and Description |
---|
SimpleStateIDs(SimpleAutomaton<S,?> automaton) |
Modifier and Type | Method and Description |
---|---|
S |
getState(int id)
Return for a given id the state of the automaton identified by it.
|
int |
getStateId(S state)
Returns for a given state of the automaton an integer uniquely identifying the state.
|
public SimpleStateIDs(SimpleAutomaton<S,?> automaton)
public int getStateId(S state)
StateIDs
getStateId
in interface StateIDs<S>
state
- the state whose id should be retrievedCopyright © 2020. All rights reserved.