Package oracle.spatial.network.lod
Class DummyLinkCostCalculator
- java.lang.Object
-
- oracle.spatial.network.lod.DummyLinkCostCalculator
-
- All Implemented Interfaces:
LinkCostCalculator
public class DummyLinkCostCalculator extends java.lang.Object implements LinkCostCalculator
This implementation of LinkCostCalculator always returns a fixed number as link cost.- Since:
- 11gR2
-
-
Constructor Summary
Constructors Constructor Description DummyLinkCostCalculator()DummyLinkCostCalculator(double cost)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetLinkCost(LODAnalysisInfo analysisInfo)Computes the cost of the next link in the analysis info.int[]getUserDataCategories()Returns the required user data categories.
-
-
-
Method Detail
-
getLinkCost
public double getLinkCost(LODAnalysisInfo analysisInfo)
Description copied from interface:LinkCostCalculatorComputes the cost of the next link in the analysis info.- Specified by:
getLinkCostin interfaceLinkCostCalculator- Parameters:
analysisInfo- analysis info- Returns:
- link cost
-
getUserDataCategories
public int[] getUserDataCategories()
Description copied from interface:LinkCostCalculatorReturns the required user data categories.- Specified by:
getUserDataCategoriesin interfaceLinkCostCalculator- Returns:
-
-