Package org.onlab.graph
Class DijkstraGraphSearch<V extends Vertex,E extends Edge<V>>
- java.lang.Object
-
- org.onlab.graph.AbstractGraphPathSearch<V,E>
-
- org.onlab.graph.DijkstraGraphSearch<V,E>
-
- All Implemented Interfaces:
GraphPathSearch<V,E>
- Direct Known Subclasses:
SuurballeGraphSearch
public class DijkstraGraphSearch<V extends Vertex,E extends Edge<V>> extends AbstractGraphPathSearch<V,E>
Dijkstra shortest-path graph search algorithm capable of finding not just one, but all shortest paths between the source and destinations.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.onlab.graph.AbstractGraphPathSearch
AbstractGraphPathSearch.DefaultResult
-
Nested classes/interfaces inherited from interface org.onlab.graph.GraphPathSearch
GraphPathSearch.Result<V extends Vertex,E extends Edge<V>>
-
-
Field Summary
-
Fields inherited from interface org.onlab.graph.GraphPathSearch
ALL_PATHS
-
-
Constructor Summary
Constructors Constructor Description DijkstraGraphSearch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GraphPathSearch.Result<V,E>
internalSearch(Graph<V,E> graph, V src, V dst, EdgeWeigher<V,E> weigher, int maxPaths)
-
Methods inherited from class org.onlab.graph.AbstractGraphPathSearch
checkArguments, search
-
-
-
-
Method Detail
-
internalSearch
protected GraphPathSearch.Result<V,E> internalSearch(Graph<V,E> graph, V src, V dst, EdgeWeigher<V,E> weigher, int maxPaths)
- Specified by:
internalSearch
in classAbstractGraphPathSearch<V extends Vertex,E extends Edge<V>>
-
-