public class SuurballeGraphSearch<V extends Vertex,E extends Edge<V>> extends DijkstraGraphSearch<V,E>
AbstractGraphPathSearch.DefaultResultGraphPathSearch.Result<V extends Vertex,E extends Edge<V>>ALL_PATHS| Constructor and Description |
|---|
SuurballeGraphSearch() |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
classE() |
Class<?> |
classV() |
MutableGraph |
mutableCopy(Graph<V,E> graph)
Creates a mutable copy of an immutable graph.
|
GraphPathSearch.Result<V,E> |
search(Graph<V,E> graph,
V src,
V dst,
EdgeWeight<V,E> weight,
int maxPaths)
Searches the specified graph for paths between vertices.
|
checkArguments, samenessThreshold, setSamenessThresholdpublic GraphPathSearch.Result<V,E> search(Graph<V,E> graph, V src, V dst, EdgeWeight<V,E> weight, int maxPaths)
GraphPathSearchsearch in interface GraphPathSearch<V extends Vertex,E extends Edge<V>>search in class DijkstraGraphSearch<V extends Vertex,E extends Edge<V>>graph - graph to be searchedsrc - optional source vertexdst - optional destination vertex; if null paths to all vertex
destinations will be searchedweight - optional edge-weight; if null cost of each edge will be
assumed to be 1.0maxPaths - limit on number of paths; GraphPathSearch.ALL_PATHS if no limitpublic Class<?> classV()
public Class<?> classE()
public MutableGraph mutableCopy(Graph<V,E> graph)
graph - immutable graphCopyright © 2016. All rights reserved.