|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAIILE.gridworld.env.GridNode
| Constructor Summary | |
GridNode()
|
|
GridNode(int x,
int y,
java.lang.Object gridObj,
GridNodeDisplay nDisplay,
java.lang.String t)
Creates a new instance of GridNode This sets the location of the node at x and y. |
|
| Method Summary | |
GridHint |
getHint()
This gets the hint for this node. |
NodeDisplay |
getNodeDisplay()
This gets a GUI display properties. |
java.lang.Object |
getNodeObject()
This gets a default Object of the user's choosing. |
java.util.List |
getPercepts()
This provides a list of properties for this node. |
java.lang.String |
getType()
This gets the type of node that this is. |
int |
getX()
This provides the pysical x location of this node in the grid |
int |
getY()
This provides the pysical y location of this node in the grid |
void |
setHint(GridHint gh)
This sets the hint for this node. |
void |
setNodeDisplay(NodeDisplay comp)
This sets a GUI display properties. |
void |
setNodeObject(java.lang.Object o)
This sets a default Object of the user's choosing. |
void |
setPercepts(java.util.List props)
|
void |
setType(java.lang.String t)
This sets the type of node that is |
java.lang.String |
toString()
Provides command line output |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public GridNode()
public GridNode(int x,
int y,
java.lang.Object gridObj,
GridNodeDisplay nDisplay,
java.lang.String t)
| Method Detail |
public int getX()
public int getY()
public java.lang.Object getNodeObject()
getNodeObject in interface Nodepublic void setNodeObject(java.lang.Object o)
setNodeObject in interface Nodepublic NodeDisplay getNodeDisplay()
getNodeDisplay in interface NodeGridNodeDisplaypublic void setNodeDisplay(NodeDisplay comp)
setNodeDisplay in interface NodeGridNodeDisplaypublic java.lang.String getType()
getType in interface Nodepublic void setType(java.lang.String t)
Node
setType in interface Nodepublic java.lang.String toString()
Node
toString in interface Nodepublic void setHint(GridHint gh)
AIILE.gridworld.util.GridHintpublic GridHint getHint()
getHint in interface NodeAIILE.gridworld.util.GridHintpublic java.util.List getPercepts()
Node
getPercepts in interface Nodepublic void setPercepts(java.util.List props)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||