首页> 外文期刊>Journal of neurosurgical sciences >Cascade Heap: Towards Time-Optimal Extractions
【24h】

Cascade Heap: Towards Time-Optimal Extractions

机译:Cascade堆:迈向最佳提取

获取原文
获取原文并翻译 | 示例
           

摘要

Heaps are well-studied fundamental data structures, having myriads of applications, both theoretical and practical. We consider the problem of designing a heap with an "optimal" EXTRACT-MIN operation. Assuming an arbitrary linear ordering of keys, a heap with n elements typically takes O(log n) time to extract the minimum. Extracting all elements faster is impossible as this would violate the Omega(n log n) bound for comparison-based sorting. It is known, however, that is takes only O(n+k log k) time to sort just k smallest elements out of n given, which prompts that there might be a faster heap, whose EXTRACT-MIN performance depends on the number of elements extracted so far. In this paper we show that this is indeed the case. We present a version of heap that performs INSERT in O(1) time and takes only O(log* n + log k) time to carry out the k-th extraction (where log* denotes the iterated logarithm). All the above bounds are worst-case.
机译:堆是良好研究的基本数据结构,具有多种应用,无论是理论和实践。 我们考虑使用“最佳”提取物 - 分钟操作设计堆的问题。 假设键的任意线性排序,具有n个元素的堆通常需要O(log n)时间来提取最小值。 提取所有元素更快就是不可能的,因为这将违反基于比较的对比较的omega(n log n)。 但是,已知,仅仅需要O(n + k log k)时间,以便在给定的n中仅排序k最小元素,这提示可能存在更快的堆,其提取最小性能取决于数量 到目前为止提取的元素。 在本文中,我们表明这确实如此。 我们介绍了一系列堆,它在O(1)时间内执行插入,只需要O(log * n + log k)时间来执行k-th提取(log *表示迭代对数)。 所有上述界限都是最糟糕的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号