|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAIILE.gridworld.util.move.BaseMove
A base class of the Move interface. This is currently used by the GridWorld. The fringe methods are not used.
| Constructor Summary | |
BaseMove()
Creates a new instance of BaseMove |
|
BaseMove(Node n)
Creates a new instance of BaseMove |
|
| Method Summary | |
Node |
getCurrentNode()
This returns the current node that moved |
java.util.List |
getFringeList()
This returns the fringe list |
void |
setCurrentNode(Node n)
This sets the current node that moved |
void |
setFringeList(java.util.List l)
This sets a list of fringe nodes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BaseMove()
public BaseMove(Node n)
n - create a move with a current node| Method Detail |
public void setCurrentNode(Node n)
setCurrentNode in interface Moven - current node to movepublic void setFringeList(java.util.List l)
setFringeList in interface Movel - list of fringe nodespublic Node getCurrentNode()
getCurrentNode in interface Movepublic java.util.List getFringeList()
getFringeList in interface Move
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||