V - vertex typeE - edge typepublic interface GraphSearch<V extends Vertex,E extends Edge<V>>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
GraphSearch.Result<V extends Vertex,E extends Edge<V>>
Notion of a graph search result.
|
| Modifier and Type | Method and Description |
|---|---|
GraphSearch.Result |
search(Graph<V,E> graph,
EdgeWeigher<V,E> weigher)
Searches the specified graph.
|
GraphSearch.Result search(Graph<V,E> graph, EdgeWeigher<V,E> weigher)
graph - graph to be searchedweigher - optional edge-weigher; if null, DefaultEdgeWeigher
will be used (assigns equal weights to all links)