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)
HeuristicCostFunctiongetHeuristicCost in interface HeuristicCostFunctioncurrentPoint - current pointgoalPoint - target pointpublic int[] getUserDataCategories()
HeuristicCostFunctiongetUserDataCategories in interface HeuristicCostFunction