首页> 外文会议>Experimental algorithms >Policy-Based Benchmarking of Weak Heaps and Their Relatives
【24h】

Policy-Based Benchmarking of Weak Heaps and Their Relatives

机译:基于策略的弱堆及其相关基准

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

摘要

In this paper we describe an experimental study where we evaluated the practical efficiency of three worst-case efficient priority queues: 1) a weak heap that is a binary tree fulfilling half-heap ordering, 2) a weak queue that is a forest of perfect weak heaps, and 3) a run-relaxed weak queue that extends a weak queue by allowing some nodes to violate half-heap ordering. All these structures support delete and delete-min in logarithmic worst-case time. A weak heap supports insert and decrease in logarithmic worst-case time, whereas a weak queue reduces the worst-case running time of insert to O(l), and a run-relaxed weak queue that of both insert and decrease to O(l). As competitors to these structures, we considered a binary heap, a Fibonacci heap, and a pairing heap. Generic programming techniques were heavily used in the code development. For benchmarking purposes we developed several component frameworks that could be instantiated with different policies.
机译:在本文中,我们描述了一项实验研究,其中我们评估了三个最坏情况的高效优先级队列的实际效率:1)弱堆是满足半堆排序的二叉树,2)弱队列是完美森林弱堆,以及3)运行松弛的弱队列,它通过允许某些节点违反半堆排序来扩展弱队列。所有这些结构都支持对数最坏情况下的delete和delete-min。弱堆支持插入并减少对数最坏情况的时间,而弱队列将插入的最坏情况运行时间减少到O(l),而运行松弛的弱队列将插入和减少的最坏情况运行时间减少到O(l) )。作为这些结构的竞争者,我们考虑了二进制堆,斐波纳契堆和配对堆。通用编程技术在代码开发中大量使用。为了进行基准测试,我们开发了几个可以使用不同策略实例化的组件框架。

著录项

  • 来源
    《Experimental algorithms》|2010年|p.424-435|共12页
  • 会议地点 Naples(IT);Naples(IT)
  • 作者单位

    Department of Computer Science, University of Copenhagen, Universitetsparken 1, 2100 Copenhagen East, Denmark;

    TZI, Universitat Bremen, Am Fallturm 1, 28357 Bremen, Germany;

    Department of Computer Science, University of Copenhagen, Universitetsparken 1, 2100 Copenhagen East, Denmark;

    Department of Computer Science, University of Copenhagen, Universitetsparken 1, 2100 Copenhagen East, Denmark;

  • 会议组织
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 软件工程;
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号