com.neatech.climbplan.activityplanner
Class State

java.lang.Object
  extended by com.neatech.climbplan.activityplanner.State

public class State
extends Object


Field Summary
private  GridPoint location
           
 
Constructor Summary
State(GridPoint location)
           
State(int x, int y)
           
 
Method Summary
 double calculate3DEuclideanDist(GridPoint point)
           
 double calculate3DEuclideanDist(State other)
           
private  double calculateRealSpeed(GridPoint point)
           
 double calculateSlope(GridPoint point)
           
 double getCost(State other)
           
static double getHeight(GridPoint location)
           
 double getHeuristicCost()
           
 GridPoint getLocation()
           
 int getRowMajorPosition()
           
 Dictionary<Integer,State> getSuccessors()
           
 boolean isGoal()
           
 boolean isValid()
           
private  int shapeInformation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

private GridPoint location
Constructor Detail

State

public State(GridPoint location)

State

public State(int x,
             int y)
Method Detail

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()