com.karneim.util.collection.automaton

Class Automaton

public abstract class Automaton extends Object implements Cloneable

Nested Class Summary
interfaceAutomaton.IChangedListener
interfaceAutomaton.IState
interfaceAutomaton.IStateChangedListener
interfaceAutomaton.IStateVisitedListener
interfaceAutomaton.ITransitionVisitedListener
classAutomaton.LinkedSet_State
classAutomaton.State
static classAutomaton.Wrapper_State
Field Summary
protected Automaton.LinkedSet_StateaStates
protected intautomatonNr
protected intcurrentStateNr
protected static intFALSE
protected intisDeterministic
protected LinkedListlisteners
protected Automaton.StatestartState
protected static intTRUE
protected static intUNKNOWN
Method Summary
protected voidaddChangedListener(Automaton.IChangedListener listener)
protected Automaton.StateaddState()
protected voidaddState(Automaton.State state)
protected voidclear()
protected Objectclone()
protected MapcloneState(Automaton.State state)
protected MapcloneStates(Automaton.LinkedSet_State states)
protected Automaton.StatecreateState()
protected Automaton.StategetStartState()
protected booleanisDeterministic()
protected booleanisDeterministic(Automaton.State startState)
protected abstract Automaton.LinkedSet_StatenewLinkedSet_State()
protected abstract Automaton.LinkedSet_StatenewLinkedSet_State(Automaton.State state)
protected booleanremoveChangedListener(Automaton.IChangedListener listener)
protected booleanremoveState(Automaton.State removeState)
protected voidremoveUnreachableStates()
protected voidsetDeterminstic(Boolean isDeterministic)
protected voidsetStartState(Automaton.State startState)
StringtoString()

Field Detail

aStates

protected Automaton.LinkedSet_State aStates

automatonNr

protected int automatonNr

currentStateNr

protected int currentStateNr

FALSE

protected static final int FALSE

isDeterministic

protected int isDeterministic

listeners

protected LinkedList listeners

startState

protected Automaton.State startState

TRUE

protected static final int TRUE

UNKNOWN

protected static final int UNKNOWN

Method Detail

addChangedListener

protected void addChangedListener(Automaton.IChangedListener listener)

addState

protected Automaton.State addState()

addState

protected void addState(Automaton.State state)

clear

protected void clear()

clone

protected Object clone()

cloneState

protected Map cloneState(Automaton.State state)

cloneStates

protected Map cloneStates(Automaton.LinkedSet_State states)

createState

protected Automaton.State createState()

getStartState

protected Automaton.State getStartState()

isDeterministic

protected boolean isDeterministic()

isDeterministic

protected boolean isDeterministic(Automaton.State startState)

newLinkedSet_State

protected abstract Automaton.LinkedSet_State newLinkedSet_State()

newLinkedSet_State

protected abstract Automaton.LinkedSet_State newLinkedSet_State(Automaton.State state)

removeChangedListener

protected boolean removeChangedListener(Automaton.IChangedListener listener)

removeState

protected boolean removeState(Automaton.State removeState)

removeUnreachableStates

protected void removeUnreachableStates()

setDeterminstic

protected void setDeterminstic(Boolean isDeterministic)

setStartState

protected void setStartState(Automaton.State startState)

toString

public String toString()