arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1402.2712cs.DS
收藏

动态部分排序

Dynamic Partial Sorting

Jiamou Liu, Kostya Ross

摘要:

动态部分排序问题要求一种算法,该算法在链接、剪切和改变值操作下维护数字列表,并查询列表中$k$最小数字的排序序列。我们首先解决问题,在$O(k\log (n))$时间查询和$O(\log (n))$时间更新使用的比赛树数据结构,其中$n$是列表中的元素的数量。然后,我们引入了一个分层的比赛树数据结构,并解决了同样的问题,在$O(\log_φ^* (n) k\log (k))$时间的查询和$O\left(\log (n)\cdot\log^2\log (n)\right)$的更新,其中$φ$是黄金分割比和$\log_φ^*(n)$是迭代对数函数与基地$φ$。

英文摘要:

The dynamic partial sorting problem asks for an algorithm that maintains lists of numbers under the link, cut and change value operations, and queries the sorted sequence of the $k$ least numbers in one of the lists. We first solve the problem in $O(k\log (n))$ time for queries and $O(\log (n))$ time for updates using the tournament tree data structure, where $n$ is the number of elements in the lists. We then introduce a layered tournament tree data structure and solve the same problem in $O(\log_φ^* (n) k\log (k))$ time for queries and $O\left(\log (n)\cdot\log^2\log (n)\right)$ for updates, where $φ$ is the golden ratio and $\log_φ^*(n)$ is the iterated logarithmic function with base $φ$.

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

↑