|
Oracle® Spatial Java API Reference 11g Release 2 (11.2) E11829-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.spatial.network.lod.DummyCostFunction
public class DummyCostFunction
The A* cost function implemented in this class always returns 0.
Constructor Summary | |
---|---|
DummyCostFunction(double cost) |
Method Summary | |
---|---|
double |
getHeuristicCost(HeavyPointOnNet currentPoint, HeavyPointOnNet goalPoint) Returns the heuristic cost from the current point to the goal point. |
int[] |
getUserDataCategories() Returns the required user data categories. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DummyCostFunction(double cost)
Method Detail |
---|
public double getHeuristicCost(HeavyPointOnNet currentPoint, HeavyPointOnNet goalPoint)
HeuristicCostFunction
getHeuristicCost
in interface HeuristicCostFunction
currentPoint
- current pointgoalPoint
- goal pointpublic int[] getUserDataCategories()
HeuristicCostFunction
getUserDataCategories
in interface HeuristicCostFunction
|
Oracle® Spatial Java API Reference 11g Release 2 (11.2) E11829-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |