public static interface GraphPathSearch.Result<V extends Vertex,E extends Edge<V>>
Modifier and Type | Method and Description |
---|---|
java.util.Map<V,Weight> |
costs()
Return a bindings of each vertex to its cost in the path.
|
V |
dst()
Returns the search destination, if was was given.
|
java.util.Map<V,java.util.Set<E>> |
parents()
Returns bindings of each vertex to its parent edges in the path.
|
java.util.Set<Path<V,E>> |
paths()
Returns the set of paths produced as a result of the graph search.
|
V |
src()
Returns the search source.
|
V src()
V dst()
java.util.Set<Path<V,E>> paths()
java.util.Map<V,java.util.Set<E>> parents()