com.karneim.util.collection.automaton
public abstract class Automaton extends Object implements Cloneable
Nested Class Summary | |
---|---|
interface | Automaton.IChangedListener |
interface | Automaton.IState |
interface | Automaton.IStateChangedListener |
interface | Automaton.IStateVisitedListener |
interface | Automaton.ITransitionVisitedListener |
class | Automaton.LinkedSet_State |
class | Automaton.State |
static class | Automaton.Wrapper_State |
Field Summary | |
---|---|
protected Automaton.LinkedSet_State | aStates |
protected int | automatonNr |
protected int | currentStateNr |
protected static int | FALSE |
protected int | isDeterministic |
protected LinkedList | listeners |
protected Automaton.State | startState |
protected static int | TRUE |
protected static int | UNKNOWN |
Method Summary | |
---|---|
protected void | addChangedListener(Automaton.IChangedListener listener) |
protected Automaton.State | addState() |
protected void | addState(Automaton.State state) |
protected void | clear() |
protected Object | clone() |
protected Map | cloneState(Automaton.State state) |
protected Map | cloneStates(Automaton.LinkedSet_State states) |
protected Automaton.State | createState() |
protected Automaton.State | getStartState() |
protected boolean | isDeterministic() |
protected boolean | isDeterministic(Automaton.State startState) |
protected abstract Automaton.LinkedSet_State | newLinkedSet_State() |
protected abstract Automaton.LinkedSet_State | newLinkedSet_State(Automaton.State state) |
protected boolean | removeChangedListener(Automaton.IChangedListener listener) |
protected boolean | removeState(Automaton.State removeState) |
protected void | removeUnreachableStates() |
protected void | setDeterminstic(Boolean isDeterministic) |
protected void | setStartState(Automaton.State startState) |
String | toString() |