|
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 LogicalHeavyPath
A LogicalHeavyPath is a logical path with detailed node and link information.
| Method Summary | |
|---|---|
LogicalHeavyPath |
append(LogicalHeavyPath path)Appends a path after this path. |
LogicalHeavyPath |
append(LogicalLink nextLink, LogicalNode nextNode, double[] nextLinkCosts, double[] nextNodeCosts)Appends a link at the end of this path. |
double |
getCost()Deprecated. use getCosts(); |
double[] |
getCosts()Returns the costs of this path. |
LogicalNode |
getEndNode()Returns the last node on this path. |
LogicalLink |
getFirstLink()Returns the first link on this path. |
LogicalLink |
getLastLink()Returns the last link on this path. |
LogicalLink[] |
getLinks()Returns the logical links on this path. |
LogicalNode[] |
getNodes()Returns the logical nodes on this path. |
LogicalNode |
getStartNode()Returns the first node on this path. |
java.util.Map<java.lang.String,java.lang.Object> |
getUserData()Returns all the user data name value pairs. |
java.lang.Object |
getUserData(java.lang.String dataName)Returns the user data object for the specified data name. |
LogicalHeavyPath |
prepend(LogicalHeavyPath path)Appends a path before this path. |
LogicalHeavyPath |
prepend(LogicalLink prevLink, LogicalNode prevNode, double[] prevLinkCosts, double[] connectorNodeCosts)Appends a link at the beginning of this path. |
void |
setCost(double cost)Deprecated. use setCosts(double[] costs); |
void |
setCosts(double[] costs)Sets the costs of this path. |
void |
setUserData(java.util.Map<java.lang.String,java.lang.Object> userDataMap)Sets the value of the user data. |
void |
setUserData(java.lang.String dataName, java.lang.Object dataValue)Sets the value of the user data. |
LogicalPath |
toLogicalPath()Converts the heavy-weight path to a light-weight path. |
| Method Detail |
|---|
LogicalLink[] getLinks()
LogicalNode[] getNodes()
LogicalNode getStartNode()
LogicalNode getEndNode()
LogicalLink getFirstLink()
LogicalLink getLastLink()
double getCost()
void setCost(double cost)
cost - path costdouble[] getCosts()
void setCosts(double[] costs)
costs - path costsjava.lang.Object getUserData(java.lang.String dataName)
dataName - name of the user data
void setUserData(java.lang.String dataName,
java.lang.Object dataValue)
dataName - name of the user datadataValue - value of the user datajava.util.Map<java.lang.String,java.lang.Object> getUserData()
void setUserData(java.util.Map<java.lang.String,java.lang.Object> userDataMap)
userDataMap - a map of userdata name value pairs
LogicalHeavyPath append(LogicalLink nextLink,
LogicalNode nextNode,
double[] nextLinkCosts,
double[] nextNodeCosts)
nextLink - next linknextNode - next nodenextLinkCosts - costs of the next linknextNodeCosts - costs of the next nodeLogicalHeavyPath append(LogicalHeavyPath path)
path - path to append after this path
LogicalHeavyPath prepend(LogicalLink prevLink,
LogicalNode prevNode,
double[] prevLinkCosts,
double[] connectorNodeCosts)
prevLink - previous linkprevNode - previous nodeprevLinkCosts - costs of the previous linkconnectorNodeCosts - costs of the previous nodeLogicalHeavyPath prepend(LogicalHeavyPath path)
path - path to append before this pathLogicalPath toLogicalPath()
|
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 | ||||||||