public abstract class Automaton
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static interface |
Automaton.IChangedListener |
static interface |
Automaton.IState |
static interface |
Automaton.IStateChangedListener |
static interface |
Automaton.IStateVisitedListener |
static interface |
Automaton.ITransitionVisitedListener |
class |
Automaton.LinkedSet_State |
class |
Automaton.State |
static class |
Automaton.Wrapper_State |
Modifier and Type | Field and Description |
---|---|
protected Automaton.LinkedSet_State |
aStates |
protected int |
automatonNr |
protected int |
currentStateNr |
protected static int |
FALSE |
protected int |
isDeterministic |
protected java.util.LinkedList |
listeners |
protected Automaton.State |
startState |
protected static int |
TRUE |
protected static int |
UNKNOWN |
Constructor and Description |
---|
Automaton() |
protected static final int TRUE
protected static final int FALSE
protected static final int UNKNOWN
protected java.util.LinkedList listeners
protected Automaton.State startState
protected Automaton.LinkedSet_State aStates
protected int isDeterministic
protected int automatonNr
protected int currentStateNr
protected void addChangedListener(Automaton.IChangedListener listener)
protected boolean removeChangedListener(Automaton.IChangedListener listener)
protected abstract Automaton.LinkedSet_State newLinkedSet_State()
protected abstract Automaton.LinkedSet_State newLinkedSet_State(Automaton.State state)
protected Automaton.State createState()
protected void setDeterminstic(java.lang.Boolean isDeterministic)
protected boolean isDeterministic()
protected boolean isDeterministic(Automaton.State startState)
protected Automaton.State addState()
protected void setStartState(Automaton.State startState)
protected Automaton.State getStartState()
protected void addState(Automaton.State state)
protected boolean removeState(Automaton.State removeState)
protected void removeUnreachableStates()
protected void clear()
protected java.util.Map cloneState(Automaton.State state)
protected java.util.Map cloneStates(Automaton.LinkedSet_State states)
public java.lang.String toString()
toString
in class java.lang.Object
protected java.lang.Object clone()
clone
in class java.lang.Object