Improved 2-Approximate Shortest Paths for close vertex pairs
Manoj Gupta
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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f8eb9241-e587-4c11-9aa6-b09aaa597234Cited by top-tier papers1
Ask how each one uses itBuilds 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
