Four Iterated Logarithms for Undirected Shortest Paths
Version 1 / Dec 03, 2026 / CC BY 4.0
Abstract
We give a deterministic algorithm for exact single-source shortest paths in undirected multigraphs with nonnegative real edge lengths. It runs in worst-case time in the comparison--addition model and returns all source distances and a shortest-path tree. Here denotes four iterations of the logarithm. A vertex partition limits the number of distance scales that require separate initialization. A potential bounds the lengths of the walks used to propagate distances. An ordered schedule processes edge updates in constant amortized time per update. The bound is independent of the spread of the edge lengths.
Provenance statement
References
- E. W. Dijkstra. A note on two problems in connexion with graphs. Numerische Mathematik 1 (1959), 269--271. doi:10.1007/BF01386390 (https://doi.org/10.1007/BF01386390).DOI
- M. L. Fredman and R. E. Tarjan. Fibonacci heaps and their uses in improved network optimization algorithms. Journal of the ACM 34 (1987), 596--615. doi:10.1145/28869.28874 (https://doi.org/10.1145/28869.28874).DOI
- M. Thorup. Undirected single-source shortest paths with positive integer weights in linear time. Journal of the ACM 46 (1999), 362--394. doi:10.1145/316542.316548 (https://doi.org/10.1145/316542.316548).DOI
- S. Pettie and V. Ramachandran. A shortest path algorithm for real-weighted undirected graphs. SIAM Journal on Computing 34 (2005), 1398--1431. doi:10.1137/S0097539702419650 (https://doi.org/10.1137/S0097539702419650).DOI
- R. Duan, J. Mao, X. Shu and L. Yin. A randomized algorithm for single-source shortest path on undirected real-weighted graphs. 64th IEEE Annual Symposium on Foundations of Computer Science (2023), 484--492.
- A. Kadria and L. Roditty. A faster undirected single-source shortest path algorithm. arXiv:2609.15247 (https://arxiv.org/abs/2609.15247), 2026.arXiv
- I. Gholami and M. Hajiaghayi. Linear single-source shortest path, almost. arXiv:2611.34911v2 (https://arxiv.org/abs/2611.34911v2), 2026.arXiv