|
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.DefaultLinkCostCalculator
public class DefaultLinkCostCalculator
This is the default link cost calculator implementation. It uses the cost attribute of the link as the link cost. This class is implemented as a singleton. To get the singleton instance use
LinkCostCalculator lcc = DefaultLinkCostCalculator.getLinkCostCalculator();
| Method Summary | |
|---|---|
double |
getLinkCost(LODAnalysisInfo analysisInfo)Computes the cost of the next link in the analysis info. |
static LinkCostCalculator |
getLinkCostCalculator() |
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 LinkCostCalculator getLinkCostCalculator()
public double getLinkCost(LODAnalysisInfo analysisInfo)
LinkCostCalculatorgetLinkCost in interface LinkCostCalculatoranalysisInfo - analysis infopublic int[] getUserDataCategories()
LinkCostCalculatorgetUserDataCategories in interface LinkCostCalculator
|
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 | ||||||||