|
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 |
public interface LinkCostCalculator
This interface defines the method supported by a link cost calculator.
Method Summary | |
---|---|
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 |
---|
double getLinkCost(LODAnalysisInfo analysisInfo)
analysisInfo
- analysis infodirection
- direction the network is being searched, which can take the following two values: NetworkExplorer.DIRECTION_FORWARD or NetworkExplorer.DIRECTION_BACKWARD. Forward direction means that the network search direction is the same as the traveling direction, i.e., the traveling direction is from current node to next node. Backward direction means that the network search direction is the reverse of the traveling direction, i.e., the traveling direction is from next node to current node.int[] getUserDataCategories()
|
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 |