|
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.DefaultNodeCostCalculator
public class DefaultNodeCostCalculator
This is the default node cost calculator implementation. It uses the cost attribute of the node as the node cost. This class is implemented as a singleton. To get the singleton instance use
NodeCostCalculator lcc = DefaultNodeCostCalculator.getNodeCostCalculator();
Method Summary | |
---|---|
double |
getNodeCost(LODAnalysisInfo analysisInfo) Computes the cost of the current node in the analysis info. |
static NodeCostCalculator |
getNodeCostCalculator() |
int[] |
getUserDataCategories() Returns the required user data categories. |
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(LODAnalysisInfo analysisInfo)
NodeCostCalculator
getNodeCost
in interface NodeCostCalculator
analysisInfo
- analysis infopublic int[] getUserDataCategories()
NodeCostCalculator
getUserDataCategories
in interface NodeCostCalculator
|
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 |