|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.graph.shortestpath.Dijkstra
public final class Dijkstra
Method Summary | ||
---|---|---|
static
|
findShortestPath(WeightedGraph<V,WE> graph,
V source,
V target)
Applies the classical Dijkstra algorithm to find the shortest path from the source to the target, if exists. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <V extends Vertex,WE extends WeightedEdge<V>> WeightedPath<V,WE> findShortestPath(WeightedGraph<V,WE> graph, V source, V target)
V
- WE
- graph
- source
- target
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |