com.croftsoft.apps.mars.ai
Class StateSpaceNode

java.lang.Object
  extended by com.croftsoft.apps.mars.ai.StateSpaceNode

public final class StateSpaceNode
extends Object

Used with the A* path-finding implementation.

Since:
2003-04-29
Version:
2003-04-29
Author:
David Wallace Croft

Constructor Summary
StateSpaceNode()
           
StateSpaceNode(PointXY pointXY, double heading)
           
 
Method Summary
 double distance(StateSpaceNode otherStateSpaceNode)
           
 double getHeading()
           
 PointXY getPointXY()
           
 double rotation(StateSpaceNode otherStateSpaceNode)
           
 void set(StateSpaceNode stateSpaceNode)
           
 void setHeading(double heading)
           
 void setPointXY(PointXY pointXY)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StateSpaceNode

public StateSpaceNode(PointXY pointXY,
                      double heading)

StateSpaceNode

public StateSpaceNode()
Method Detail

getHeading

public double getHeading()

getPointXY

public PointXY getPointXY()

set

public void set(StateSpaceNode stateSpaceNode)

setHeading

public void setHeading(double heading)

setPointXY

public void setPointXY(PointXY pointXY)

distance

public double distance(StateSpaceNode otherStateSpaceNode)

rotation

public double rotation(StateSpaceNode otherStateSpaceNode)

toString

public String toString()
Overrides:
toString in class Object

CroftSoft Javadoc

CroftSoft Apps Javadoc (2008-09-28 21:15:07)