commandline.CodingUtils
Class State
java.lang.Object
commandline.CodingUtils.State
- Direct Known Subclasses:
- State_A, State_B, State_C
public abstract class State
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
genericEdge
protected GenericEdge genericEdge
configuration
protected Configuration configuration
State
public State(GenericEdge genericEdge,
Configuration configuration)
getMaxVanBeginWeg
public int getMaxVanBeginWeg(GenericEdge edge)
getMinNaarBeginToe
public int getMinNaarBeginToe(GenericEdge edge)
getNextState
public abstract State getNextState(GenericEdge child)
- returns the state of the child depending on this state
- Parameters:
child -
- Returns:
getStateString
public abstract java.lang.String getStateString()
- Get the string of the state
- Returns:
getInitialState
public static State getInitialState(GenericEdge edge,
Configuration configuration)
- returns the initial state of an edge depending on its characteristics
- Parameters:
edge -
- Returns:
accept
public abstract void accept(StateVisitor stateVisitor)
getGenericEdge
public GenericEdge getGenericEdge()