alphaFeedback

WorksComputer Science

Roundtrip All-Pairs Shortest Paths in Directed Graphs

Abstract

We study approximation algorithms for All-Pairs Shortest Paths (APSP) in directed graphs under the roundtrip metric. In directed graphs, even finite-factor approximation of ordinary one-way distances must distinguish reachable from unreachable vertex pairs, and therefore computes transitive closure, a problem equivalent to Boolean matrix multiplication (BMM) under standard reductions. The roundtrip distance, defined as distG(u⇆v)=distG(u→v)+distG(v→u)\text{dist}_G(u \leftrightarrows v) = \text{dist}_G(u \to v) + \text{dist}_G(v \to u), offers a natural and robust relaxation. It measures the cost of traveling from uu to vv and back, satisfies the triangle inequality, and is inherently symmetric. While this metric has become central to the study of directed roundtrip spanners and compact routing, the fundamental problem of all-pairs roundtrip distance approximation has remained largely unexplored. In this work, we present a comprehensive study of roundtrip APSP and distance oracles, presenting several new lower and upper bounds. On the algorithmic side, our main result is a combinatorial algorithm that computes a stretch-33 approximation to all-pairs roundtrip distances in O~(n2+min⁡{mn, m1/3n5/3})\widetilde{O}(n^2 + \min\{m\sqrt{n},\, m^{1/3}n^{5/3}\}) time. For edge weights in [1,W][1,W], we also obtain a (3+ε)(3+\varepsilon)-approximation in O~((n2.037+nm2/3)log⁡(nW)/ε)\widetilde O((n^{2.037}+nm^{2/3})\log(nW)/\varepsilon) time and a (4+ε)(4+\varepsilon)-approximation in O~(n2.032log⁡(nW)/ε)\widetilde O(n^{2.032}\log(nW)/\varepsilon) time using fast matrix multiplication. On the hardness side, we show that any stretch below 33 would imply a breakthrough for BMM. We also obtain additional tradeoffs between stretch and running time.

Paper details

vlnc:W_2yrzfb86
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 9

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

arXiv nonexclusive license

Original source

  • Computer Science

Not recorded for this paper · View statement →

Looking for related papers…