public class DummyCostFunction extends java.lang.Object implements HeuristicCostFunction
Constructor and Description |
---|
DummyCostFunction(double cost) |
Modifier and Type | Method and Description |
---|---|
double |
getHeuristicCost(HeavyPointOnNet currentPoint, HeavyPointOnNet goalPoint)
Returns the heuristic cost from the current point to the target point.
|
int[] |
getUserDataCategories()
Returns the required user data categories.
|
public double getHeuristicCost(HeavyPointOnNet currentPoint, HeavyPointOnNet goalPoint)
HeuristicCostFunction
getHeuristicCost
in interface HeuristicCostFunction
currentPoint
- current pointgoalPoint
- target pointpublic int[] getUserDataCategories()
HeuristicCostFunction
getUserDataCategories
in interface HeuristicCostFunction