首页> 外文会议>Annual European symposium on algorithms >Equivalence between Priority Queues and Sorting in External Memory
【24h】

Equivalence between Priority Queues and Sorting in External Memory

机译:优先级队列和外部存储器中的排序之间的对等关系

获取原文

摘要

A priority queue is a fundamental data structure that maintains a dynamic ordered set of keys and supports the followig basic operations: insertion of a key, deletion of a key, and finding the smallest key. The complexity of the priority queue is closely related to that of sorting: A priority queue can be used to implement a sorting algorithm trivially. Thorup proved that the converse is also true in the RAM model. In particular, he designed a priority queue that uses the sorting algorithm as a black box, such that the per-operation cost of the priority queue is asymptotically the same as the per-key cost of sorting. In this paper, we prove an analogous result in the external memory model, showing that priority queues are computationally equivalent to sorting in external memory, under some mild assumptions. The reduction provides a possibility for proving lower bounds for external sorting via showing a lower bound for priority queues.
机译:优先级队列是一种基本的数据结构,它维护一组动态有序的密钥,并支持以下基本操作:插入密钥,删除密钥以及查找最小密钥。优先级队列的复杂性与排序密切相关:优先级队列可用于轻松实现排序算法。 Thorup证明,在RAM模型中反之亦然。特别是,他设计了一个优先级队列,该优先级队列将排序算法用作黑匣子,这样优先级队列的每次操作成本就渐渐地与排序的每关键字成本相同。在本文中,我们证明了在外部存储器模型中的类似结果,表明在某些轻微假设下,优先级队列在计算上等同于在外部存储器中进行排序。减少提供了通过显示优先级队列的下限来证明外部排序的下限的可能性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号