public interface GraphPathSearch
Modifier and Type | Interface and Description |
---|---|
static interface |
GraphPathSearch.Result
Representation of a graph path search result.
|
Modifier and Type | Method and Description |
---|---|
GraphPathSearch.Result |
search(Graph g,
Vertex src,
Vertex dst,
EdgeWeight ew)
Search the graph producing a set of paths.
|
GraphPathSearch.Result search(Graph g, Vertex src, Vertex dst, EdgeWeight ew)
g
- graph to be searchedsrc
- source node; implementations may leave this as optionaldst
- destination node; implementations may leave this as optionalew
- optional edge weight functionCopyright © 2015. All Rights Reserved.