|
Algorithm Development Kit 1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectalgs.model.searchtree.Transition
public class Transition
Stores the move and the previous state that was present when the move was made.
Field Summary | |
---|---|
IMove |
move
The move which caused the board state transition. |
INode |
prev
The previous board state. |
Constructor Summary | |
---|---|
Transition(IMove move,
INode prev)
Record the move and previous state of this transition. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final IMove move
public final INode prev
Constructor Detail |
---|
public Transition(IMove move, INode prev)
move
- Move which caused the transitionprev
- The previous board state
|
Algorithm Development Kit 1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |