public interface LogicalPath extends LogicalLightPath
| Modifier and Type | Method and Description |
|---|---|
LogicalPath |
append(LogicalPath path)
Appends a path to the end this path.
|
LogicalPath |
append(LogicalPath path, double connectorNodeCost)
Deprecated.
use append(LogicalPath path);
|
LogicalPath |
append(long nextLinkId, double[] nextLinkCosts, long nextNodeId, double[] connectorNodeCosts)
Append a link to this path.
|
LogicalPath |
append(long nextLinkId, double nextLinkCost, long nextNodeId, double connectorNodeCosts)
Deprecated.
use append(long nextLinkId, double[] nextLinkCosts, long nextNodeId, double[] connectorNodeCosts);
|
java.lang.Object |
clone()
Support cloneable
|
CategorizedUserData |
getCategorizedUserData()
Returns categorized user data.
|
long[] |
getLinkIds()
Returns the array of link IDs on this path.
|
long[] |
getNodeIds()
Returns the array of node IDs on this path.
|
UserData |
getUserData(int category)
Returns user data for the specified category.
|
int |
indexOfLink(long linkId)
Returns the index of the specified link in this path.
|
int |
indexOfNode(long nodeId)
Returns the index of the specified node in this path.
|
boolean |
isSimple()
Checks whether this path is simple or not.
|
LogicalPath |
prepend(LogicalPath path)
Appends a path to the beginning of this path.
|
LogicalPath |
prepend(LogicalPath path, double connectorNodeCost)
Deprecated.
use prepend(LogicalPath path);
|
LogicalPath |
prepend(long prevLinkId, double[] prevLinkCosts, long prevNodeId, double[] prevNodeCosts)
Prepend a link to this path.
|
LogicalPath |
prepend(long prevLinkId, double prevLinkCost, long prevNodeId, double prevNodeCost)
Deprecated.
use prepend(long prevLinkId, double[] prevLinkCosts, long prevNodeId, double[] connectorNodeCosts);
|
void |
setCategorizedUserData(CategorizedUserData userData)
Sets categorized user data.
|
void |
setUserData(int category, UserData userData)
Sets user data for the specified category.
|
getCost, getCosts, getEndNodeId, getFirstLinkId, getLastLinkId, getNumberOfLinks, getNumberOfNodes, getStartNodeId, setCostslong[] getLinkIds()
long[] getNodeIds()
boolean isSimple()
LogicalPath append(long nextLinkId, double nextLinkCost, long nextNodeId, double connectorNodeCosts)
nextLinkId - ID of the next linknextLinkCost - cost of the next linknextNodeId - ID of the next nodeconnectorNodeCosts - cost of the connector nodeLogicalPath append(long nextLinkId, double[] nextLinkCosts, long nextNodeId, double[] connectorNodeCosts)
nextLinkId - ID of the next linknextLinkCosts - costs of the next linknextNodeId - ID of the next nodeconnectorNodeCosts - costs of the connector nodeLogicalPath prepend(long prevLinkId, double prevLinkCost, long prevNodeId, double prevNodeCost)
prevLinkId - ID of the previous linkprevLinkCost - cost of the previous linkprevNodeId - ID of the previous nodeprevNodeCost - costs of the node to be prependedLogicalPath prepend(long prevLinkId, double[] prevLinkCosts, long prevNodeId, double[] prevNodeCosts)
prevLinkId - ID of the previous linkprevLinkCosts - costs of the previous linkprevNodeId - ID of the previous nodeprevNodeCosts - costs of the node to be prependedLogicalPath append(LogicalPath path, double connectorNodeCost)
path - path to append to the endconnectorNodeCost - cost of the connector nodeLogicalPath append(LogicalPath path)
path - path to append to the endLogicalPath prepend(LogicalPath path, double connectorNodeCost)
path - path to append at the beginningconnectorNodeCost - cost of the connector nodeLogicalPath prepend(LogicalPath path)
path - path to append at the beginningint indexOfNode(long nodeId)
nodeId - node idint indexOfLink(long linkId)
linkId - link idCategorizedUserData getCategorizedUserData()
void setCategorizedUserData(CategorizedUserData userData)
userData -UserData getUserData(int category)
void setUserData(int category,
UserData userData)
userData -
java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException