public class ShortestPathInfo<N extends DirectedGraphNode,E extends DirectedGraphEdge<? extends N,? extends N>>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
NOPATH |
Modifier and Type | Method and Description |
---|---|
java.util.List<N> |
getShortestPath(N source,
N target)
Returns the shortest path from the source to the target.
|
int |
getShortestPathLength(N source,
N target) |
public static final int NOPATH
public java.util.List<N> getShortestPath(N source, N target)
source
- target
-