Improved 2-Approximate Shortest Paths for close vertex pairs
Abstract
An influential result by Dor, Halperin, and Zwick (FOCS 1996, SICOMP 2000) implies an algorithm that can compute approximate shortest paths for all vertex pairs in O(n 2+O( 1 k ) ) time 1 , ensuring that the output distance is at most twice the actual shortest path, provided the pairs are at least k apart, where k ⩾ 2. We present the first improvement on this result in over 25 years. Our algorithm achieves roughly same O(n 2+ 1 k ) runtime but applies to vertex pairs merely O(log k) apart, where log k ⩾ 1. When k = log n, the running time of our algorithm is O(n 2 ) and it works for all pairs at least O(log log n) apart. Our algorithm is combinatorial, randomized, and returns correct results for all pairs with a high probability.
Observation 1.1. A +k-approximate APSP algorithm provides 2-approximate distances for all vertex pairs with a distance of at least k.
Using this observation, the above algorithms produce 2-approximate answers for vertex pairs sufficiently far apart. Thus, +2-approximate algorithm of [ACIM99] implies a 2-approximate APSP algorithm with a running 1 O() notation hides polylog n factors 1
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Faster Matrix Multiplication via Asymmetric Hashing cites A Refined Laser Method and Faster Matrix Multiplication
- A Refined Laser Method and Faster Matrix Multiplication cites Faster Matrix Multiplication via Asymmetric Hashing
- New Bounds for Matrix Multiplication: from Alpha to Omega cites Faster Matrix Multiplication via Asymmetric Hashing
- New Bounds for Matrix Multiplication: from Alpha to Omega cites A Refined Laser Method and Faster Matrix Multiplication
- A Refined Laser Method and Faster Matrix Multiplication cites New Bounds for Matrix Multiplication: from Alpha to Omega
Cited by top-tier papers1
Builds on7
- A Refined Laser Method and Faster Matrix MultiplicationJosh Alman, Virginia Vassilevska WilliamsSODA 2021 · 275 citations
- New Bounds for Matrix Multiplication: from Alpha to OmegaVirginia Vassilevska Williams, Yinzhan Xu, Zixuan Xu, Renfei ZhouSODA 2024 · 90 citations
- Faster Matrix Multiplication via Asymmetric HashingRan Duan, Hongxun Wu, Renfei ZhouFOCS 2023 · 54 citations
- Nearly 2-Approximate Distance Oracles in Subquadratic TimeShiri Chechik, Tianyi ZhangSODA 2022 · 5 citations
- An almost 2-approximation for all-pairs of shortest paths in subquadratic timeMaor Akav, Liam RodittySODA 2020 · 3 citations
Related papers
- Fast 2-Approximate All-Pairs Shortest PathsMichal Dory, Sebastian Forster, Yael Kirkpatrick, Yasamin Nazari et al.SODA 2024
- Faster Approximate All Pairs Shortest PathsBarna Saha, Christopher YeSODA 2024 · 3 citations
- Approximation Algorithms and Hardness for n-Pairs Shortest Paths and All-Nodes Shortest CyclesMina Dalirrooyfard, Ce Jin, Virginia Vassilevska Williams, Nicole WeinFOCS 2022 · 3 citations
- Fully Dynamic All-Pairs Shortest Paths: Likely Optimal Worst-Case Update TimeXiao MaoSTOC 2024 · 1 citation
- New Algorithms for All Pairs Approximate Shortest PathsLiam RodittySTOC 2023
