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,
EdgeWeight<V,E> weight)
Searches the specified graph.
|
GraphSearch.Result search(Graph<V,E> graph, EdgeWeight<V,E> weight)
graph - graph to be searchedweight - optional edge-weight; if null cost of each edge will be
assumed to be 1.0