edu.udo.cs.ie.cowbots.internalActions.scout
Class astar.Node
java.lang.Object
edu.udo.cs.ie.cowbots.internalActions.scout.astar.Node
- All Implemented Interfaces:
- java.lang.Comparable<astar.Node>
- Enclosing class:
- astar
class astar.Node
- extends java.lang.Object
- implements java.lang.Comparable<astar.Node>
Constructor Summary |
astar.Node(int x,
int y,
int xT,
int yT)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
x
private int x
y
private int y
fScore
int fScore
gScore
int gScore
hScore
int hScore
content
java.lang.String content
walkAble
boolean walkAble
parent
astar.Node parent
astar.Node
public astar.Node(int x,
int y,
int xT,
int yT)
setParent
public void setParent(astar.Node node)
getParent
public astar.Node getParent()
getX
public int getX()
getY
public int getY()
computhScore
public void computhScore()
setContent
public void setContent(java.lang.String s)
getWalkAble
public boolean getWalkAble()
getfScore
public int getfScore()
getgScore
public int getgScore()
setgScore
public void setgScore(int gScore)
sethScore
public void sethScore(int hScore)
computfScore
public void computfScore()
getContent
public java.lang.String getContent()
gethScore
public int gethScore()
compareTo
public int compareTo(astar.Node node)
- Specified by:
compareTo
in interface java.lang.Comparable<astar.Node>