edu.udo.cs.ie.cowbots.internalActions.scout
Class astar.Node

Package class diagram package astar.Node
java.lang.Object
  extended by 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>


Field Summary
(package private)  java.lang.String content
           
(package private)  int fScore
           
(package private)  int gScore
           
(package private)  int hScore
           
(package private)  astar.Node parent
           
(package private)  boolean walkAble
           
private  int x
           
private  int y
           
 
Constructor Summary
astar.Node(int x, int y, int xT, int yT)
           
 
Method Summary
 int compareTo(astar.Node node)
           
 void computfScore()
           
 void computhScore()
           
 java.lang.String getContent()
           
 int getfScore()
           
 int getgScore()
           
 int gethScore()
           
 astar.Node getParent()
           
 boolean getWalkAble()
           
 int getX()
           
 int getY()
           
 void setContent(java.lang.String s)
           
 void setgScore(int gScore)
           
 void sethScore(int hScore)
           
 void setParent(astar.Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

astar.Node

public astar.Node(int x,
                  int y,
                  int xT,
                  int yT)
Method Detail

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>