public interface EdgeDirectory
DijkstraAlgorithm
.Modifier and Type | Method and Description |
---|---|
java.util.Iterator |
getDestinations(Vertex origin)
Returns an iterator over all valid destinations for a given vertex.
|
int |
getPenalty(Vertex start,
Vertex end)
Returns the penalty between two vertices.
|
int getPenalty(Vertex start, Vertex end)
start
- the start vertexend
- the end vertexjava.util.Iterator getDestinations(Vertex origin)
origin
- the origin from which to search for destinationsCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.