fr.inria.opengve.bridge.algorithms.common.shortestPath
Class DijkstraAdvanced<V,E extends Link<V>,G extends Graph<V,E>>

java.lang.Object
  extended by java.util.Observable
      extended by fr.inria.opengve.bridge.algorithms.StepAlgo<V,E>
          extended by fr.inria.opengve.bridge.algorithms.common.shortestPath.ShortestPathWithSingleOrigin<V,E,G>
              extended by fr.inria.opengve.bridge.algorithms.common.shortestPath.DijkstraAdvanced<V,E,G>
All Implemented Interfaces:
java.lang.Runnable

public abstract class DijkstraAdvanced<V,E extends Link<V>,G extends Graph<V,E>>
extends ShortestPathWithSingleOrigin<V,E,G>

Provides a advanced algorithm to find all shortest paths from a vertex. You must note that this algorithm doesn't work with negative distance you must use BellmanFord.

After constructing the dijkstra object, some steps are necessary to obtains shortest paths or distances.

  • Initialize Algorithm :