All-Hops Shortest Paths
Virginia Vassilevska Williams, Zoe Xi, Yinzhan Xu, Uri Zwick
Abstract
Let G = (V, E, w) be a weighted directed graph without negative cycles. For two vertices s, t ∈ V , we let d ≤h (s, t) be the minimum, according to the weight function w, of a path from s to t that uses at most h edges, or hops. We consider algorithms for computing d ≤h (s, t) for every 1 ≤ h ≤ n, where n = |V |, in various settings. We consider the single-pair, single-source and all-pairs versions of the problem. We also consider a distance oracle version of the problem in which we are not required to explicitly compute all distances d ≤h (s, t), but rather return each one of these distances upon request. We consider both the case in which the edge weights are arbitrary, and in which they are small integers in the range -M, . . . , M . For some of our results we obtain matching conditional lower bounds.
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.
Builds on4
- New Bounds for Matrix Multiplication: from Alpha to OmegaVirginia Vassilevska Williams, Yinzhan Xu, Zixuan Xu, Renfei ZhouSODA 2024 · 90 citations
- Parallel approximate undirected shortest paths via low hop emulatorsAlexandr Andoni, Clifford Stein, Peilin ZhongSTOC 2020 · 50 citations
- Faster min-plus product for monotone instancesShucheng Chi, Ran Duan, Tianle Xie, Tianyi ZhangSTOC 2022 · 12 citations
- Planar Negative k-CyclePawel Gawrychowski, Shay Mozes, Oren WeimannSODA 2021 · 1 citation
Related papers
- New Separations and Reductions for Directed Hopsets and PreserversGary Hoppenworth, Yinzhan Xu, Zixuan XuSODA 2025 · 2 citations
- Nearly Optimal Fault Tolerant Distance OracleDipan Dey, Manoj GuptaSTOC 2024 · 2 citations
- Efficient construction of directed hopsets and parallel approximate shortest pathsNairen Cao, Jeremy T. Fineman, Katina RussellSTOC 2020 · 13 citations
- Deterministic Negative-Weight Shortest Paths in Nearly Linear Time via Path CoversBernhard Haeupler, Yonggang Jiang, Thatchaphol SaranurakSTOC 2026 · 5 citations
- Closing the Gap Between Directed Hopsets and Shortcut SetsAaron Bernstein, Nicole WeinSODA 2023 · 3 citations
