MealyStateMachine
public class Automata extends java.lang.Object
Constructor and Description |
---|
Automata()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addFinalState(State fst) |
void |
addState(State st) |
void |
addTransition(State ist,
MealyLabel mlbl,
State fst) |
StateSpaceContext |
getContext() |
java.util.HashSet<State> |
getFinalStates() |
State |
getInitialState()
the methods to explore the automata
|
boolean |
isFinalState(State cs) |
boolean |
isInitialState(State cs) |
State |
moveNextState(StateLabelledTransition slbl) |
void |
setCurrentState(State cst) |
void |
setInitialState(State ist) |
java.lang.String |
toString() |
public void setInitialState(State ist)
public void addState(State st)
public void setCurrentState(State cst)
public void addFinalState(State fst)
public void addTransition(State ist, MealyLabel mlbl, State fst)
public State getInitialState()
public java.util.HashSet<State> getFinalStates()
public boolean isInitialState(State cs)
public boolean isFinalState(State cs)
public StateSpaceContext getContext()
public State moveNextState(StateLabelledTransition slbl)
public java.lang.String toString()
toString
in class java.lang.Object