com.ibm.wala.demandpa.alg.statemachine
Interface StateMachine<T>
- All Known Implementing Classes:
- ContextSensitiveStateMachine, DummyStateMachine, IntraProcFilter
public interface StateMachine<T>
A state machine with an error state. Non-error states must be represented
externally as natural numbers.
ERROR
static final StateMachine.State ERROR
getStartState
StateMachine.State getStartState()
transition
StateMachine.State transition(StateMachine.State prevState,
T label)
- Parameters:
prevState - label -
- Returns:
- the successor state of prevState for the transition labelled label,
or
null if no such transition exists
- Throws:
StatesMergedException - if merging of states is detected- See Also:
StatesMergedException