Journal of the ACM · 1999 · 441 citations · 19 references
ComputingComputer ScienceMathematicsAlgorithmsCombinatoricsPath PlanningCombinatorial OptimizationGraph AlgorithmsShortest Path AlgorithmsSorting AlgorithmsAlgorithmic Graph TheoryDijkstra's AlgorithmShortest Path ProblemsShortest PathsSingle-source Shortest Paths
The single‑source shortest‑path problem seeks the shortest paths from a source vertex in a positively weighted graph, and until now has been solved by Dijkstra’s algorithm, which requires sorting vertices by distance and thus cannot run in linear time. This work introduces a deterministic algorithm that solves undirected single‑source shortest paths with positive integer weights in linear time and linear space. The algorithm eliminates the sorting bottleneck by constructing a hierarchical bucketing structure that identifies vertex pairs that can be processed in any order.
The single-source shortest paths problem (SSSP) is one of the classic problems in algorithmic graph theory: given a positively weighted graph G with a source vertex s , find the shortest path from s to all other vertices in the graph. Since 1959, all theoretical developments in SSSP for general directed and undirected graphs have been based on Dijkstra's algorithm, visiting the vertices in order of increasing distance from s . Thus, any implementation of Dijkstra's algorithm sorts the vertices according to their distances from s . However, we do not know how to sort in linear time. Here, a deterministic linear time and linear space algorithm is presented for the undirected single source shortest paths problem with positive integer weights. The algorithm avoids the sorting bottleneck by building a hierarchical bucketing structure, identifying vertex pairs that may be visited in any order.
19
A note on two problems in connexion with graphs
E. Dijkstra · Numerische Mathematik · 1959 · 23.8K citations