public class ShortestPathUtils
extends java.lang.Object
Constructor and Description |
---|
ShortestPathUtils() |
Modifier and Type | Method and Description |
---|---|
static java.util.List |
getPath(ShortestPath sp,
Vertex source,
Vertex target)
Returns a
List of the edges on the shortest path from
source to target , in order of their
occurrence on this path. |
public static java.util.List getPath(ShortestPath sp, Vertex source, Vertex target)
List
of the edges on the shortest path from
source
to target
, in order of their
occurrence on this path.