Package org.onlab.graph
Class LazyKShortestPathsSearch<V extends Vertex,E extends Edge<V>>
- java.lang.Object
-
- org.onlab.graph.LazyKShortestPathsSearch<V,E>
-
-
Constructor Summary
Constructors Constructor Description LazyKShortestPathsSearch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.stream.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.
-
-
-
Method Detail
-
lazyPathSearch
public java.util.stream.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.- Parameters:
graph
- graph to be searchedsrc
- source vertexdst
- destination vertexweigher
- edge-weigher- Returns:
- Stream of shortest paths
-
-