Lune

FOCS2025Top-tier venue

Improved 2-Approximate Shortest Paths for close vertex pairs

Manoj Gupta

2025Year
2Citations
1Top-tier citations

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.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext f8eb9241-e587-4c11-9aa6-b09aaa597234

Cited by top-tier papers1

Ask how each one uses it

Builds on7

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines