|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.spatial.network.lod.DummyNodeCostCalculator
public class DummyNodeCostCalculator
This implementation of NodeCostCalculator always returns 0 for node cost. This class is implemented as a singleton.
Method Summary | |
---|---|
double |
getNodeCost(LogicalNode node) Computes the cost of the specified logical node. |
static NodeCostCalculator |
getNodeCostCalculator() |
boolean |
requiresUserData() Returns true if calculating node cost requires user data information. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static NodeCostCalculator getNodeCostCalculator()
public double getNodeCost(LogicalNode node)
NodeCostCalculator
getNodeCost
in interface NodeCostCalculator
node
- a standalone logical nodepublic boolean requiresUserData()
NodeCostCalculator
requiresUserData
in interface NodeCostCalculator
|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |