Lune

FOCS2024顶会

Universal Optimality of Dijkstra Via Beyond-Worst-Case Heaps

Bernhard Haeupler, Richard Hladík, Václav Rozhon, Robert E. Tarjan, Jakub Tetek

摘要

In this paper we prove that Dijkstra's shortest-path algorithm, if implemented with a sufficiently efficient heap, is universally optimal in its running time, and with suitable small additions is also universally optimal in its number of comparisons.

Universal optimality is a powerful beyond-worst-case performance guarantee for graph algorithms that informally states that a single algorithm on a problem involving graphs with arc and/or vertex weights performs as well as possible on every graph, assuming a worst-case choice of weights. We give the first application of this notion to any sequential algorithm.

We design a new heap data structure with a working-set bound, which guarantees that the heap takes advantage of a certain kind of locality in the heap operations. Our heap has the optimal (amortized) bounds of Fibonacci heaps but also has the beyond-worst-case guarantee that the cost of deleting the minimum item is logarithmic in the number of items inserted after it but before it is deleted, instead of logarithmic in the size of the heap when the item is deleted. That is, deletion of recently inserted items is especially efficient.

We prove that our working-set bound guarantees universal optimality for the problem of ordering vertices by their distance from the source vertex, which we call the distance order problem. Our result relies on the observation that the sequence of heap operations generated by any run of Dijkstra's algorithm on a fixed graph possesses enough locality that one can couple the number of comparisons performed by any heap with our working-set bound to the minimum number of comparisons required to solve the distance order problem on this graph for a worst-case choice of arc lengths.

问 Lune

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

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

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Trust Region Interior Point Methods: Optimal ℓ₂- and Faster Wide-Neighborhood Path Following 引用了 Breaking the Sorting Barrier for Directed Single-Source Shortest Paths
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Breaking the Sorting Barrier for Directed Single-Source Shortest PathsRan Duan, Jiayi Mao, Xiao Mao, Xinkai Shu 等STOC 2025 · 8 次引用
  2. Beyond Trajectory-Level Attribution: Graph-Based Credit Assignment for Agentic Reinforcement LearningCheng Xin, Shuo He, Lang Feng, Haiyang Xu 等ICML 2026 · 6 次引用
  3. Fast and Simple Sorting Using Partial InformationBernhard Haeupler, Richard Hladík, John Iacono, Václav Rozhon 等SODA 2025 · 3 次引用
  4. Trust Region Interior Point Methods: Optimal ℓ₂- and Faster Wide-Neighborhood Path FollowingDaniel Dadush, Haoyuan Ma, Bento Natura, László A. VéghSTOC 2026 · 1 次引用

它引用的 Paper6

  1. Undirected (1+ε)-shortest paths via minor-aggregates: near-optimal deterministic parallel and distributed algorithmsVáclav Rozhon, Christoph Grunau, Bernhard Haeupler, Goran Zuzic 等STOC 2022 · 22 次引用
  2. Hop-constrained expander decompositions, oblivious routing, and distributed universal optimalityBernhard Haeupler, Harald Räcke, Mohsen GhaffariSTOC 2022 · 19 次引用
  3. Breaking the Sorting Barrier for Directed Single-Source Shortest PathsRan Duan, Jiayi Mao, Xiao Mao, Xinkai Shu 等STOC 2025 · 8 次引用
  4. Universally-Optimal Distributed Shortest Paths and Transshipment via Graph-Based ℓ1-Oblivious RoutingGoran Zuzic, Gramoz Goranci, Mingquan Ye, Bernhard Haeupler 等SODA 2022 · 7 次引用
  5. Fast and Simple Sorting Using Partial InformationBernhard Haeupler, Richard Hladík, John Iacono, Václav Rozhon 等SODA 2025 · 3 次引用

相关 Paper

  1. A Randomized Algorithm for Single-Source Shortest Path on Undirected Real-Weighted GraphsRan Duan, Jiayi Mao, Xinkai Shu, Longhui YinFOCS 2023 · 6 次引用
  2. Functional Correctness of C Implementations of Dijkstra's, Kruskal's, and Prim's AlgorithmsAnshuman Mohan, Wei Xiang Leow, Aquinas HoborCAV 2021 · 11 次引用
  3. All-Hops Shortest PathsVirginia Vassilevska Williams, Zoe Xi, Yinzhan Xu, Uri ZwickSODA 2025
  4. Distances and shortest paths on graphs of bounded highway dimension: simple, fast, dynamicSébastien Collette, John IaconoSODA 2024 · 1 次引用
  5. Path and Intersections: Characterization of Quasi-metrics in Directed Okamura-Seymour InstancesYu Chen, Zihan TanSODA 2025
黄昏的海面,两侧是细线勾勒的悬崖