arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv cs/0011046cs.DCcs.DS
收藏

可用的稳定堆

Available Stabilizing Heaps

Ted Herman, Toshimitsu Masuzawa

摘要:

本文描述了一个堆结构,支持插入和删除操作在任意(可能是非法的)状态。在最多O(m)堆操作的任何序列之后,堆状态保证是合法的,其中m是堆中的初始项目数。来自每个操作的响应与其对数据结构的影响一致,即使对于非法状态也是如此。每个操作的时间复杂度是O(lg K),其中K是数据结构的容量;当堆的状态是合法的时,时间复杂度是O(lg n),n等于堆中的项数。

英文摘要:

This paper describes a heap construction that supports insert and delete operations in arbitrary (possibly illegitimate) states. After any sequence of at most O(m) heap operations, the heap state is guarantee to be legitimate, where m is the initial number of items in the heap. The response from each operation is consistent with its effect on the data structure, even for illegitimate states. The time complexity of each operation is O(lg K) where K is the capacity of the data structure; when the heap's state is legitimate the time complexity is O(lg n) for n equal to the number items in the heap.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑