arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.05982cs.DSmath.OC
收藏

一种用于可探索堆选择的近似最优随机算法

A nearly optimal randomized algorithm for explorable heap selection

Sander Borst, Daniel Dadush, Sophie Huiberts, Danish Kashaev

AI总结:

针对可探索堆选择问题,提出一种空间复杂度O(log n)、时间复杂度O(n log(n)^3)的新随机算法,大幅优化此前随机算法的运行时间,并证明同空间量级下的下界,验证算法近似最优。

摘要:

可探索堆选择是指在二叉堆中选出第n小值的问题。键值只能通过遍历底层的无限二叉树来访问,算法的复杂度以在树中行进的总距离衡量(每条边的代价为单位1)。该问题最初由Karp、Saks和Widgerson(FOCS '86)提出,作为研究带存储限制的分支定界算法搜索策略的模型,他们分别给出了使用O(log(n)^2.5)空间的确定性算法和使用O(√log n)空间的随机算法,时间复杂度均为n·exp(O(√log n))。我们提出了一种新的随机算法,运行时间为O(n log(n)^3),空间复杂度为O(log n),以略微增加空间使用为代价,大幅提升了此前最优随机算法的运行时间。我们还证明,任何在相同空间量级下求解该问题的算法都存在Ω(log(n)n/log(log(n)))的下界,表明我们的算法是近似最优的。

英文摘要:

Explorable heap selection is the problem of selecting the $n$th smallest value in a binary heap. The key values can only be accessed by traversing through the underlying infinite binary tree, and the complexity of the algorithm is measured by the total distance traveled in the tree (each edge has unit cost). This problem was originally proposed as a model to study search strategies for the branch-and-bound algorithm with storage restrictions by Karp, Saks and Widgerson (FOCS '86), who gave deterministic and randomized $n\cdot \exp(O(\sqrt{\log{n}}))$ time algorithms using $O(\log(n)^{2.5})$ and $O(\sqrt{\log n})$ space respectively. We present a new randomized algorithm with running time $O(n\log(n)^3)$ using $O(\log n)$ space, substantially improving the previous best randomized running time at the expense of slightly increased space usage. We also show an $Ω(\log(n)n/\log(\log(n)))$ for any algorithm that solves the problem in the same amount of space, indicating that our algorithm is nearly optimal.

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

↑