English

A Randomized Algorithm for Single-Source Shortest Path on Undirected Real-Weighted Graphs

Data Structures and Algorithms 2023-10-05 v2

Abstract

In undirected graphs with real non-negative weights, we give a new randomized algorithm for the single-source shortest path (SSSP) problem with running time O(mlognloglogn)O(m\sqrt{\log n \cdot \log\log n}) in the comparison-addition model. This is the first algorithm to break the O(m+nlogn)O(m+n\log n) time bound for real-weighted sparse graphs by Dijkstra's algorithm with Fibonacci heaps. Previous undirected non-negative SSSP algorithms give time bound of O(mα(m,n)+min{nlogn,nloglogr})O(m\alpha(m,n)+\min\{n\log n, n\log\log r\}) in comparison-addition model, where α\alpha is the inverse-Ackermann function and rr is the ratio of the maximum-to-minimum edge weight [Pettie & Ramachandran 2005], and linear time for integer edge weights in RAM model [Thorup 1999]. Note that there is a proposed complexity lower bound of Ω(m+min{nlogn,nloglogr})\Omega(m+\min\{n\log n, n\log\log r\}) for hierarchy-based algorithms for undirected real-weighted SSSP [Pettie & Ramachandran 2005], but our algorithm does not obey the properties required for that lower bound. As a non-hierarchy-based approach, our algorithm shows great advantage with much simpler structure, and is much easier to implement.

Keywords

Cite

@article{arxiv.2307.04139,
  title  = {A Randomized Algorithm for Single-Source Shortest Path on Undirected Real-Weighted Graphs},
  author = {Ran Duan and Jiayi Mao and Xinkai Shu and Longhui Yin},
  journal= {arXiv preprint arXiv:2307.04139},
  year   = {2023}
}

Comments

17 pages

R2 v1 2026-06-28T11:25:21.317Z