com.neatech.climbplan.activityplanner
Class State
java.lang.Object
com.neatech.climbplan.activityplanner.State
public class State
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
location
private GridPoint location
State
public State(GridPoint location)
State
public State(int x,
int y)
getLocation
public GridPoint getLocation()
getHeight
public static double getHeight(GridPoint location)
calculate3DEuclideanDist
public double calculate3DEuclideanDist(GridPoint point)
calculate3DEuclideanDist
public double calculate3DEuclideanDist(State other)
getCost
public double getCost(State other)
calculateRealSpeed
private double calculateRealSpeed(GridPoint point)
calculateSlope
public double calculateSlope(GridPoint point)
getHeuristicCost
public double getHeuristicCost()
isGoal
public boolean isGoal()
getRowMajorPosition
public int getRowMajorPosition()
shapeInformation
private int shapeInformation()
isValid
public boolean isValid()
getSuccessors
public Dictionary<Integer,State> getSuccessors()