|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.generation5.ai.FSM.State
org.generation5.ai.TuringMachine.Transition
This class handles the Turing Machine transitions. Turing Machine transitions are a little more complicated than finite state machine transitions since tape direction and write symbols need to be accounted for.
| Field Summary | |
protected FSM.State |
nextState
The next state. |
protected int |
tapeDirection
The new tape direction. |
protected int |
writeSymbol
The write symbol. |
| Fields inherited from class org.generation5.ai.FSM.State |
positionX, positionY, selfReferring, stateName, transitionHash |
| Constructor Summary | |
TuringMachine.Transition(FSM.State state,
int write,
int tape)
The default constructor that specifies the next state, the write symbol and tape direction. |
|
| Methods inherited from class org.generation5.ai.FSM.State |
addTransition, getPositionX, getPositionY, isSelfReferring, render, renderConnections, setName, setPosition, setSelfReferring, toString, transition |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected FSM.State nextState
protected int writeSymbol
protected int tapeDirection
| Constructor Detail |
public TuringMachine.Transition(FSM.State state,
int write,
int tape)
state - the next state.write - the write symbol.tape - the tape direction.
|
This documentation is part of the Generation5 JDK.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||