arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.09892cs.DScs.CG
收藏

通过范围搜索实现回溯单调优先队列

Retroactive Monotonic Priority Queues via Range Searching

Institute of Computing - UFAM(UFAM计算研究所)

Lucas Castro, Rosiane de Freitas

AI总结:

本文研究了回溯单调优先队列,证明其最小值查找是范围搜索问题的特例,并设计出时间空间复杂度与标准优先队列相同的回溯单调优先队列。

摘要:

已知的完全回溯优先队列每个操作的时间复杂度为O(log²m log log m),空间复杂度为O(m log m),其中m为数据结构的操作次数。相比之下,标准(非回溯)优先队列每个操作的时间复杂度为O(log m),空间复杂度为O(m)。迄今为止,是否能为完全回溯优先队列实现这些界限仍是一个开放性问题。在本工作中,我们研究了一种称为单调优先队列的受限变种。首先,我们证明在回溯单调优先队列中查找最小值是范围搜索问题的特例。然后,我们设计出一个完全回溯单调优先队列,每个操作的时间复杂度为O(log m),空间复杂度为O(m),实现了与标准优先队列相同的界限。

英文摘要:

The best-known fully retroactive priority queue costs $O(\log^2 m \log \log m)$ time per operation and uses $O(m \log m)$ space, where $m$ is the number of operations performed on the data structure. In contrast, standard (non-retroactive) priority queues can cost $O(\log m)$ time per operation and use $O(m)$ space. So far, it remains open whether these bounds can be achieved for fully retroactive priority queues. In this work, we study a restricted variant of priority queues known as monotonic priority queues. First, we show that finding the minimum in a retroactive monotonic priority queue is a special case of the range-searching problem. Then, we design a fully retroactive monotonic priority queue that costs $O(\log m)$ time per operation and uses $O(m)$ space, achieving the same bounds as a standard priority queue.

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

↑