public interface LogicalLightPath
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Support cloneable
|
CategorizedUserData |
getCategorizedUserData()
Returns categorized user data.
|
double |
getCost()
Deprecated.
use getCosts()
|
double[] |
getCosts()
Returns the costs of this path.
|
long |
getEndNodeId()
Returns the end node ID of this path.
|
long |
getFirstLinkId()
Returns the ID of the first link on this path.
|
long |
getLastLinkId()
Returns the ID of the last link on this path.
|
int |
getNumberOfLinks()
Returns the number of links on this path.
|
int |
getNumberOfNodes()
Returns the number of nodes on this path.
|
long |
getStartNodeId()
Returns the start node ID of this path.
|
UserData |
getUserData(int category)
Returns user data for the specified category.
|
boolean |
isReverse()
Returns false if the path is represented in the traveling direction; Returns true if the path is represented in the reverse direction.
|
void |
reverse()
Reverses node and link order of this path, and flip the isReverse flag of the path.
|
void |
setCategorizedUserData(CategorizedUserData userData)
Sets categorized user data.
|
void |
setCosts(double[] costs)
Sets the costs of the path.
|
void |
setUserData(int category, UserData userData)
Sets user data for the specified category.
|
double getCost()
double[] getCosts()
void setCosts(double[] costs)
costs
-long getStartNodeId()
long getEndNodeId()
long getFirstLinkId()
long getLastLinkId()
int getNumberOfNodes()
int getNumberOfLinks()
boolean isReverse()
void reverse()
newStartNodeCosts
-oldStartNodeCosts
-CategorizedUserData 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