Lune

SODA2024顶会

Exact Shortest Paths with Rational Weights on the Word RAM

Adam Karczmarz, Wojciech Nadara, Marek Sokolowski

摘要

Exact computation of shortest paths in weighted graphs has been traditionally studied in one of two settings. First, one can assume that the edge weights are real numbers and all the performed operations on reals (typically comparisons and additions) take constant time. Classical Dijkstra's and Bellman-Ford algorithms have been described in this setting.

More efficient exact shortest paths algorithms have been obtained for integer-weighted graphs. Integrality assumption not only enables faster algorithms but also allows implementing the aforementioned algorithms in a much more realistic word RAM model where only arithmetic operations on O(log n)-bit integers are performed in constant time.

On the word RAM one can as efficiently exactly encode even rational-weighted instances with O(log n)-bit numerators and denominators. However, the known exact real-weighted shortest paths algorithms, run on such a rational input, can easily encounter intermediate values of Θ(n) bits if represented exactly. This leads to a factor-Ω(n) slowdown on the word RAM. At the same time, the scaling algorithms suited for integer weights do not produce exact solutions for rational inputs without dramatically increasing their accuracy.

In this paper, we design randomized exact single-source shortest paths algorithms for rationalweighted graphs on the word RAM. Most importantly, in the non-negative case, we obtain a near-linear time algorithm matching Dijkstra's algorithm running time up to polylogarithmic factors. In presence of negative weights, we give an O(n 2.5 )-time algorithm breaking through the best known strongly polynomial bound attained by Bellman-Ford for sufficiently dense graphs.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Bipartite Matching in Nearly-linear Time on Moderately Dense Graphs 引用了 Circulation Control for Faster Minimum Cost Flow in Unit-Capacity Graphs
  • Negative-Weight Single-Source Shortest Paths in Near-linear Time 引用了 Circulation Control for Faster Minimum Cost Flow in Unit-Capacity Graphs
  • Negative-Weight Single-Source Shortest Paths in Near-linear Time 引用了 Bipartite Matching in Nearly-linear Time on Moderately Dense Graphs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper4

  1. Bipartite Matching in Nearly-linear Time on Moderately Dense GraphsJan van den Brand, Yin Tat Lee, Danupon Nanongkai, Richard Peng 等FOCS 2020 · 72 次引用
  2. Circulation Control for Faster Minimum Cost Flow in Unit-Capacity GraphsKyriakos Axiotis, Aleksander Madry, Adrian VladuFOCS 2020 · 43 次引用
  3. Negative-Weight Single-Source Shortest Paths in Near-linear TimeAaron Bernstein, Danupon Nanongkai, Christian Wulff-NilsenFOCS 2022 · 24 次引用
  4. Hardness for triangle problems under even more believable hypotheses: reductions from real APSP, real 3SUM, and OVTimothy M. Chan, Virginia Vassilevska Williams, Yinzhan XuSTOC 2022

相关 Paper

  1. Single-Source Shortest Paths with Negative Real Weights in Õ(mn8/9) TimeJeremy T. FinemanSTOC 2024 · 3 次引用
  2. Deterministic Padded Decompositions and Negative-Weight Shortest PathsJason LiSTOC 2026 · 6 次引用
  3. Faster single-source shortest paths with negative real weights via proper hop distanceYufan Huang, Peter Jin, Kent QuanrudSODA 2025 · 5 次引用
  4. A Randomized Algorithm for Single-Source Shortest Path on Undirected Real-Weighted GraphsRan Duan, Jiayi Mao, Xinkai Shu, Longhui YinFOCS 2023 · 6 次引用
  5. Strongly Polynomial Parallel Work-Depth Tradeoffs for Directed SSSPAdam Karczmarz, Wojciech Nadara, Marek SokolowskiSODA 2026
黄昏的海面,两侧是细线勾勒的悬崖