首页> 外文会议>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 main-tains 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 [11] 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 [11]证明了RAM模型中的交谈也是如此。特别是,他设计了一种优先级队列,它使用排序算法作为黑盒子,使得优先级队列的每次运营成本与分类的每次关键成本渐近相同。在本文中,我们证明了外部存储器模型中的类似结果,表明优先级队列在一些温和的假设下在外部存储器中进行分类。减少提供了用于证明外部排序的下限通过显示优先级队列的下限。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号