Constructor and Description |
---|
LazyKShortestPathsSearch() |
Modifier and Type | Method and Description |
---|---|
Stream<Path<V,E>> |
lazyPathSearch(Graph<V,E> graph,
V src,
V dst,
EdgeWeigher<V,E> weigher)
Searches the specified graph for paths between vertices.
|
public Stream<Path<V,E>> lazyPathSearch(Graph<V,E> graph, V src, V dst, EdgeWeigher<V,E> weigher)
graph
- graph to be searchedsrc
- source vertexdst
- destination vertexweigher
- edge-weigher