计算机科学 > 数据结构与算法
[提交于 2015年5月4日]
标题:Strictly Implicit Priority Queues: On the Number of Moves and Worst-Case Time
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The binary heap of Williams (1964) is a simple priority queue characterized by only storing an array containing the elements and the number of elements $n$ - here denoted a strictly implicit priority queue. We introduce two new strictly implicit priority queues. The first structure supports amortized $O(1)$ time Insert and $O(\log n)$ time ExtractMin operations, where both operations require amortized $O(1)$ element moves. No previous implicit heap with $O(1)$ time Insert supports both operations with $O(1)$ moves. The second structure supports worst-case $O(1)$ time Insert and $O(\log n)$ time (and moves) ExtractMin operations. Previous results were either amortized or needed $O(\log n)$ bits of additional state information between operations.
提交历史
来自:Jesper Sindahl Nielsen[v1] 2015年5月4日 星期一 00:00:00 UTC