English

All-Hops Shortest Paths

Data Structures and Algorithms 2024-11-01 v1

Abstract

Let G=(V,E,w)G=(V,E,w) be a weighted directed graph without negative cycles. For two vertices s,tVs,t\in V, we let dh(s,t)d_{\le h}(s,t) be the minimum, according to the weight function ww, of a path from ss to tt that uses at most hh edges, or hops. We consider algorithms for computing dh(s,t)d_{\le h}(s,t) for every 1hn1\le h\le n, where n=Vn=|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 dh(s,t)d_{\le 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}\{-M,\ldots,M\}. For some of our results we obtain matching conditional lower bounds.

Keywords

Cite

@article{arxiv.2410.23617,
  title  = {All-Hops Shortest Paths},
  author = {Virginia Vassilevska Williams and Zoe Xi and Yinzhan Xu and Uri Zwick},
  journal= {arXiv preprint arXiv:2410.23617},
  year   = {2024}
}

Comments

To appear in SODA 2025

R2 v1 2026-06-28T19:42:22.546Z