public interface ILcdShortestRouteDistanceTable<N>
Modifier and Type | Method and Description |
---|---|
double |
getDistance(N aStartNode,
N aEndNode)
Returns the distance of the shortest route between the two given nodes in
the direction indicated by their order.
|
Enumeration<N> |
getNodes()
Returns all nodes contained in this distance table.
|
Enumeration<N> getNodes()
double getDistance(N aStartNode, N aEndNode)
Double.POSITIVE_INFINITY
will be returned.aStartNode
- the first node.aEndNode
- the second node.NullPointerException
- if one of the nodes is null
.IllegalArgumentException
- if one of the nodes is not part of this graph.