public interface LogicalNode
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Support cloneable
|
CategorizedUserData |
getCategorizedUserData()
Returns categorized user data.
|
double |
getCost()
Returns the cost of this node.
|
long |
getId()
Returns the node ID
|
int |
getMaxLinkLevel()
Returns the maximum link level of the links incident to this node.
|
UserData |
getUserData(int category)
Returns user data for the specified category.
|
boolean |
isActive()
Checks whether the node is active.
|
void |
setCategorizedUserData(CategorizedUserData userData)
Sets categorized user data.
|
void |
setCost(double cost)
Sets the cost of this node.
|
void |
setIsActive(boolean isActive)
Sets whether this node is active.
|
void |
setMaxLinkLevel(int maxLinkLevel)
Sets the maximum link level of the links incident to this node.
|
void |
setUserData(int category, UserData userData)
Sets user data for the specified category.
|
void |
update(LogicalNode node)
Copies the attributes of the input node to this node.
|
long getId()
double getCost()
void setCost(double cost)
cost - node costint getMaxLinkLevel()
void setMaxLinkLevel(int maxLinkLevel)
maxLinkLevel - maximum link level of the links incident to this nodeboolean isActive()
void setIsActive(boolean isActive)
isActive - true if the node is active; false otherwise.void update(LogicalNode node)
node - node containing the attributes to copy fromCategorizedUserData 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