|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use FSM.State | |
| org.generation5.ai | General AI classes including agents, pathfinders and finite-state machines. |
| Uses of FSM.State in org.generation5.ai |
| Subclasses of FSM.State in org.generation5.ai | |
static class |
TuringMachine.Transition
This class handles the Turing Machine transitions. |
| Fields in org.generation5.ai declared as FSM.State | |
protected FSM.State |
TuringMachine.Transition.nextState
The next state. |
protected FSM.State |
FSM.currentState
The current state in the FSM is in. |
protected FSM.State[] |
FSM.fsmStates
An array of the states in the finite-state machine. |
| Methods in org.generation5.ai that return FSM.State | |
FSM.State |
TuringMachine.transition(int transition)
Transitions the Turing Machine from one state to another. |
FSM.State |
FSM.getCurrentState()
Return the current state the FSM is in. |
FSM.State |
FSM.transition(int transition)
Transition the FSM from one state to another with a given transition identifier. |
FSM.State |
FSM.getState(int i)
Retrieve the given state from the FSM. |
FSM.State |
FSM.State.transition(int transition)
Transition this state given the transition identifier. |
| Methods in org.generation5.ai with parameters of type FSM.State | |
void |
TuringMachine.addTransition(FSM.State start,
int transition,
FSM.State end)
Add a transition state between the specified start and end states for the given transition symbol. |
void |
FSM.setState(FSM.State state)
Set the current state of the finite-state machine. |
int |
FSM.addState(FSM.State state)
Add a state to the FSM. |
int |
FSM.addStates(FSM.State[] states)
Adds an array of states to the FSM. |
void |
FSM.addTransition(FSM.State start,
int transition,
FSM.State end)
Add a transition to the finite state machine. |
void |
FSM.State.addTransition(int transition,
FSM.State endState)
Add a transition to the state. |
| Constructors in org.generation5.ai with parameters of type FSM.State | |
TuringMachine.Transition(FSM.State state,
int write,
int tape)
The default constructor that specifies the next state, the write symbol and tape direction. |
|
FSM(FSM.State initialState)
Creates a new instance of FSM with an initial state. |
|
FSM(int maxStates,
FSM.State initialState)
Creates a new instance of FSM with an initial state and the maximum allowed states. |
|
|
This documentation is part of the Generation5 JDK.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||