|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use SPNode | |
| net.spy.util | General Spy Utilites |
| Uses of SPNode in net.spy.util |
| Classes in net.spy.util that implement SPNode | |
class |
AbstractSPNode
Abstract implementation of SPNode to make implementation a bit easier. |
| Methods in net.spy.util that return SPNode | |
SPNode |
SPVertex.getTo()
Get the destination node. |
| Methods in net.spy.util with parameters of type SPNode | |
SPVertex |
SPNode.getNextHop(SPNode n)
Get the next hop to take you to the given node. |
void |
SPNode.addNextHop(SPNode n,
SPVertex v)
Add a vertex to the next hop database to take you to a particular location. |
void |
ShortestPathFinder.calculatePaths(SPNode node)
Calculate all of the paths for a single node. |
protected void |
AbstractSPNode.linkTo(SPNode n,
int cost)
Link this SPNode to the given SPNode at the given cost. |
protected void |
AbstractSPNode.linkTo(SPNode n)
Link this SPNode to the given SPNode at the default cost. |
SPVertex |
AbstractSPNode.getNextHop(SPNode n)
|
void |
AbstractSPNode.addNextHop(SPNode n,
SPVertex v)
|
| Constructors in net.spy.util with parameters of type SPNode | |
SPVertex(SPNode to,
int cost)
Get an instance of SPVertex. |
|
SPVertex(SPNode to)
Get an instance of SPVertex linking the two nodes with the default cost. |
|
ShortestPath(SPNode from,
SPNode to)
Get an instance of ShortestPath. |
|
NoPathException(SPNode from,
SPNode to)
Get an instance of NoPathException. |
|
NoPathException(SPNode from,
SPNode to,
String msg)
Get an instance of NoPathException with a message. |
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||