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 double
getLinkCost(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:LinkCostCalculator
Computes the cost of the next link in the analysis info.- Specified by:
getLinkCost
in interfaceLinkCostCalculator
- Parameters:
analysisInfo
- analysis info- Returns:
- link cost
-
getUserDataCategories
public int[] getUserDataCategories()
Description copied from interface:LinkCostCalculator
Returns the required user data categories.- Specified by:
getUserDataCategories
in interfaceLinkCostCalculator
- Returns:
-
-