Package oracle.spatial.network.lod
Class DummyNodeCostCalculator
- java.lang.Object
-
- oracle.spatial.network.lod.DummyNodeCostCalculator
-
- All Implemented Interfaces:
NodeCostCalculator
public class DummyNodeCostCalculator extends java.lang.Object implements NodeCostCalculator
This implementation of NodeCostCalculator always returns a fixed number as node cost.- Since:
- 11gR2
-
-
Constructor Summary
Constructors Constructor Description DummyNodeCostCalculator()DummyNodeCostCalculator(double cost)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetNodeCost(LODAnalysisInfo analysisInfo)Computes the cost of the current node in the analysis info.int[]getUserDataCategories()Returns the required user data categories.
-
-
-
Method Detail
-
getNodeCost
public double getNodeCost(LODAnalysisInfo analysisInfo)
Description copied from interface:NodeCostCalculatorComputes the cost of the current node in the analysis info.- Specified by:
getNodeCostin interfaceNodeCostCalculator- Parameters:
analysisInfo- analysis info- Returns:
- node cost
-
getUserDataCategories
public int[] getUserDataCategories()
Description copied from interface:NodeCostCalculatorReturns the required user data categories.- Specified by:
getUserDataCategoriesin interfaceNodeCostCalculator- Returns:
-
-