arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.24134cs.DS
收藏

近最优堆与指针机上的Dijkstra算法

Near-Optimal Working-Set Heaps and Dijkstra on Pointer Machines

IT University of Copenhagen(哥本哈根信息技术大学);Université libre de Bruxelles(布鲁塞尔自由大学);Institute of Science and Technology Austria (ISTA)(奥地利科学技术研究所)

Ivor van der Hoog, John Iacono, Eva Rotenberg, Daniel Rutschmann

AI总结:

本文提出在指针机上实现近最优堆,支持常数时间Push和反阿克曼时间DecreaseKey,使Dijkstra算法运行效率接近最优。

摘要:

本文提出在指针机上实现近最优堆,支持常数时间Push和反阿克曼时间DecreaseKey,使Dijkstra算法运行效率接近最优。

英文摘要:

A heap is a dynamic data structure that stores a set of labeled values under the following operations: pop returns the minimum value of the heap, Push($x_i$) pushes a new value $x_i$ onto the heap, and DecreaseKey($i$, $v$) decreases the value $x_i$ to $v$. A working-set heap is a heap that supports the $x_i \gets$ pop$()$ operation in $O(\log Γ(x_i) )$ time where $Γ(x_i)$ is the size of the \emph{working set}: the number of elements that were pushed onto the heap while $x_i$ was in the heap. The goal of working set heap design is to maintain the working set property while minimizing the overhead of the Push and DecreaseKey operations. On a word RAM, there exist working set heaps that support Push and DecreaseKey in amortized constant time. In this paper, we show via a simple construction that pointer machines, one of the most general and least-assuming computational models, support working set heaps that support Push in amortized constant time and DecreaseKey in inverse-Ackermann time. A by-product of this analysis is that Dijkstra's shortest path algorithm can be near-universally optimal on a pointer machine -- incurring only an additive $O(m \, α(m))$ overhead compared to the optimal running time for distance ordering, where $m$ denotes the number of edges in the graph.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑