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. CCS Concepts: • Theory of computation → Shortest paths; Sorting and searching; • Mathematics of computing → Graph algorithms.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper4
- Breaking the Sorting Barrier for Directed Single-Source Shortest PathsRan Duan, Jiayi Mao, Xiao Mao, Xinkai Shu 等STOC 2025 · 被引用 8 次
- Beyond Trajectory-Level Attribution: Graph-Based Credit Assignment for Agentic Reinforcement LearningCheng Xin, Shuo He, Lang Feng, Haiyang Xu 等ICML 2026 · 被引用 6 次
- Fast and Simple Sorting Using Partial InformationBernhard Haeupler, Richard Hladík, John Iacono, Václav Rozhon 等SODA 2025 · 被引用 3 次
- 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
- 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 次
- Hop-constrained expander decompositions, oblivious routing, and distributed universal optimalityBernhard Haeupler, Harald Räcke, Mohsen GhaffariSTOC 2022 · 被引用 19 次
- Breaking the Sorting Barrier for Directed Single-Source Shortest PathsRan Duan, Jiayi Mao, Xiao Mao, Xinkai Shu 等STOC 2025 · 被引用 8 次
- Universally-Optimal Distributed Shortest Paths and Transshipment via Graph-Based ℓ1-Oblivious RoutingGoran Zuzic, Gramoz Goranci, Mingquan Ye, Bernhard Haeupler 等SODA 2022 · 被引用 7 次
- Fast and Simple Sorting Using Partial InformationBernhard Haeupler, Richard Hladík, John Iacono, Václav Rozhon 等SODA 2025 · 被引用 3 次
相关 Paper
- A Randomized Algorithm for Single-Source Shortest Path on Undirected Real-Weighted GraphsRan Duan, Jiayi Mao, Xinkai Shu, Longhui YinFOCS 2023 · 被引用 6 次
- Functional Correctness of C Implementations of Dijkstra's, Kruskal's, and Prim's AlgorithmsAnshuman Mohan, Wei Xiang Leow, Aquinas HoborCAV 2021 · 被引用 11 次
- Distances and shortest paths on graphs of bounded highway dimension: simple, fast, dynamicSébastien Collette, John IaconoSODA 2024 · 被引用 1 次
- All-Hops Shortest PathsVirginia Vassilevska Williams, Zoe Xi, Yinzhan Xu, Uri ZwickSODA 2025
- Near-Optimal Decremental SSSP in Dense Weighted DigraphsAaron Bernstein, Maximilian Probst Gutenberg, Christian Wulff-NilsenFOCS 2020 · 被引用 16 次
