列表堆
List Heaps
摘要:
本文提出了一个简单的扩展的二进制堆,列表堆。我们使用列表堆来演示自适应堆的思想:堆的性能是问题实例的大小和问题实例的无序度的函数。我们专注于输入序列的presortedness作为衡量的问题实例的混乱。许多依赖堆的实际应用程序处理的输入不是随机的。即使是随机输入也包含预先分类的连续性。设计利用这种结构的堆可以提供一种提高实际性能的方法。我们提出了一些基本的实证检验来支持这一主张。此外,自适应堆可能为理论研究提供一个有趣的方向。
英文摘要:
This paper presents a simple extension of the binary heap, the List Heap. We use List Heaps to demonstrate the idea of adaptive heaps: heaps whose performance is a function of both the size of the problem instance and the disorder of the problem instance. We focus on the presortedness of the input sequence as a measure of disorder for the problem instance. A number of practical applications that rely on heaps deal with input that is not random. Even random input contains presorted subsequences. Devising heaps that exploit this structure may provide a means for improving practical performance. We present some basic empirical tests to support this claim. Additionally, adaptive heaps may provide an interesting direction for theoretical investigation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。