|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-01 |
||||||||
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(LogicalLink link, long fromNodeId) Computes the cost of the specified link. |
boolean |
requiresUserData() Returns true if calculating link cost requires user data information. |
Method Detail |
---|
double getLinkCost(LogicalLink link, long fromNodeId)
link
- a standalone logical linkfromNodeId
- ID of the node from which the network traverser is traveling from. It is used to indicate travel direction on the link. This ID must be either the start node or end node ID of the link.boolean requiresUserData()
|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |