|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Path
Represent a Path in a Domain and is used by a LSP
Creation date: 20-Jan-2005 10:45:08
| Method Summary | |
|---|---|
boolean |
containsLink(Link link)
Return true if the path contains the link Link |
void |
createPathFromLink(java.util.List<Link> path)
Create a Path from a list of Link |
void |
createPathFromNode(java.util.List<Node> path)
Create a Path from a list of Node |
boolean |
equals(Path path)
Return true if the path is equal to the given Path |
Node |
getDestinationNode()
Get the destination node |
java.util.List<Link> |
getLinkPath()
Get the path as a List of Link |
java.util.List<Node> |
getNodePath()
Get the path as a List of Node |
Node |
getSourceNode()
Get the source node |
float |
getSumLinkMetrics()
Get the cost of the path |
java.lang.String |
toLinksString()
Get a String displaying the path as link ids |
java.lang.String |
toNodesString()
Get a String displaying the path as node ids |
java.lang.String |
toString()
Get a String displaying the path as node ids |
| Method Detail |
|---|
void createPathFromLink(java.util.List<Link> path)
throws NodeNotFoundException,
InvalidPathException
path -
NodeNotFoundException
InvalidPathException
void createPathFromNode(java.util.List<Node> path)
throws NodeNotFoundException,
InvalidPathException
path -
NodeNotFoundException
InvalidPathExceptionjava.util.List<Link> getLinkPath()
java.util.List<Node> getNodePath()
Node getSourceNode()
float getSumLinkMetrics()
Node getDestinationNode()
boolean containsLink(Link link)
link -
boolean equals(Path path)
path -
java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toNodesString()
java.lang.String toLinksString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||