JOURNAL ARTICLE

A Shortest Path Algorithm for Real-Weighted Undirected Graphs

Seth PettieVijaya Ramachandran

Year: 2005 Journal:   SIAM Journal on Computing Vol: 34 (6)Pages: 1398-1431   Publisher: Society for Industrial and Applied Mathematics

Abstract

We present a new scheme for computing shortest paths on real-weighted undirected graphs in the fundamental comparison-addition model. In an efficient preprocessing phase our algorithm creates a linear-size structure that facilitates single-source shortest path computations in O(m log $\alpha$) time, where $\alpha$ = $\alpha$(m,n) is the very slowly growing inverse-Ackermann function, m the number of edges, and n the number of vertices. As special cases our algorithm implies new bounds on both the all-pairs and single-source shortest paths problems. We solve the all-pairs problem in O(mn log $\alpha$(m,n)) time and, if the ratio between the maximum and minimum edge lengths is bounded by n(log n)O(1) , we can solve the single-source problem in O(m + n log log n) time. Both these results are theoretical improvements over Dijkstra's algorithm, which was the previous best for real weighted undirected graphs. Our algorithm takes the hierarchy-based approach invented by Thorup.

Keywords:
Ackermann function Combinatorics Mathematics Shortest path problem Shortest Path Faster Algorithm Binary logarithm Inverse Bounded function Yen's algorithm Discrete mathematics Time complexity Undirected graph Algorithm Dijkstra's algorithm Graph

Metrics

99
Cited By
5.60
FWCI (Field Weighted Citation Impact)
63
Refs
0.96
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Complexity and Algorithms in Graphs
Physical Sciences →  Computer Science →  Computational Theory and Mathematics
Advanced Graph Theory Research
Physical Sciences →  Computer Science →  Computational Theory and Mathematics
Computational Geometry and Mesh Generation
Physical Sciences →  Computer Science →  Computer Graphics and Computer-Aided Design
© 2026 ScienceGate Book Chapters — All rights reserved.