Linear Single-Source Shortest Path, Almost
We give a comparison-addition algorithm for single-source shortest paths in undirected graphs with nonnegative real edge lengths. For each input with $n$ vertices and $m$ edges, its expected running time is $O(m+n\log\log\log n)$. It terminates almost surely. Every terminating run returns exact distances and a shortest-path tree on the reachable vertices. The bound is independent of the ratio of edge lengths and is linear whenever $m=Ω(n\log\log\log n)$.
Authors
- Iman Gholami (ORCID: https://orcid.org/0009-0007-4225-1608)
- MohammadTaghi Hajiaghayi (ORCID: https://orcid.org/0000-0003-4842-0533)
Publication Details
- Journal
- arXiv
- Published
- 2026-11-25
- DOI
- https://doi.org/10.48550/arxiv.2611.34911
- Primary Topic
- Complexity and Algorithms in Graphs
- Type
- preprint