DefaultEdgeDirectory
public interface EdgeDirectory
DijkstraAlgorithm
.Modifier and Type | Method | 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-2016 The Apache Software Foundation. All Rights Reserved.