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

部分信息下排序的紧界

Tight Bounds for Sorting Under Partial Information

Ivor van der Hoog, Daniel Rutschmann

AI总结:

本文研究部分信息下的排序问题,提出一种预处理与查询分离的算法,在部分预言机查询、线性预言机查询和时间三个指标上均达到渐近紧界,并给出匹配下界。

摘要:

排序有一个自然的推广,其输入包括:(1) 一个大小为 $n$ 的基础集合 $X$,(2) 一个部分预言机 $O_P$,指定 $X$ 上的某个固定偏序 $P$,以及 (3) 一个线性预言机 $O_L$,指定一个扩展 $P$ 的线性序 $L$。目标是用最少的线性预言机查询次数恢复 $X$ 上的线性序 $L$。在该问题中,我们通过三个指标衡量算法复杂度:对 $O_L$ 的预言机查询次数、对 $O_P$ 的预言机查询次数以及所花费的时间。任何算法在最坏情况下都需要 $\log_2 e(P)$ 次线性预言机查询才能恢复 $X$ 上的线性序。Kahn 和 Saks 提出了第一个使用 $Θ(\log e(P))$ 次线性预言机查询的算法(使用 $O(n^2)$ 次部分预言机查询和指数时间)。一般问题的最新技术由 Cardinal、Fiorini、Joret、Jungers 和 Munro 在 STOC'10 上给出,他们成功将线性预言机查询和部分预言机查询分离为预处理阶段和查询阶段。他们可以使用 $O(n^2)$ 次部分预言机查询和 $O(n^{2.5})$ 时间预处理 $P$。然后,给定 $O_L$,他们在 $Θ(\log e(P))$ 次线性预言机查询和 $O(n + \log e(P))$ 时间内揭示 $X$ 上的线性序——这在线性预言机查询次数上是最坏情况最优的,但在所花费的时间上并非最优。对于 $c \geq 1$,我们的算法可以使用 $O(n^{1 + \frac{1}{c}})$ 次查询和时间预处理 $O_P$。给定 $O_L$,我们使用 $Θ(c \log e(P))$ 次查询和时间揭示 $L$。我们给出了匹配的下界,因为存在正常数 $(α, β)$,使得对于任何常数 $c \geq 1$,任何使用至多 $α\cdot n^{1 + \frac{1}{c}}$ 次预处理的算法在最坏情况下必须使用至少 $β\cdot c \log e(P)$ 次线性预言机查询。因此,我们通过一个在所有三个指标上都渐近紧的算法解决了部分信息下的排序问题。

英文摘要:

Sorting has a natural generalization where the input consists of: (1) a ground set $X$ of size $n$, (2) a partial oracle $O_P$ specifying some fixed partial order $P$ on $X$ and (3) a linear oracle $O_L$ specifying a linear order $L$ that extends $P$. The goal is to recover the linear order $L$ on $X$ using the fewest number of linear oracle queries. In this problem, we measure algorithmic complexity through three metrics: oracle queries to $O_L$, oracle queries to $O_P$, and the time spent. Any algorithm requires worst-case $\log_2 e(P)$ linear oracle queries to recover the linear order on $X$. Kahn and Saks presented the first algorithm that uses $Θ(\log e(P))$ linear oracle queries (using $O(n^2)$ partial oracle queries and exponential time). The state-of-the-art for the general problem is by Cardinal, Fiorini, Joret, Jungers and Munro who at STOC'10 manage to separate the linear and partial oracle queries into a preprocessing and query phase. They can preprocess $P$ using $O(n^2)$ partial oracle queries and $O(n^{2.5})$ time. Then, given $O_L$, they uncover the linear order on $X$ in $Θ(\log e(P))$ linear oracle queries and $O(n + \log e(P))$ time -- which is worst-case optimal in the number of linear oracle queries but not in the time spent. For $c \geq 1$, our algorithm can preprocess $O_P$ using $O(n^{1 + \frac{1}{c}})$ queries and time. Given $O_L$, we uncover $L$ using $Θ(c \log e(P))$ queries and time. We show a matching lower bound, as there exist positive constants $(α, β)$ where for any constant $c \geq 1$, any algorithm that uses at most $α\cdot n^{1 + \frac{1}{c}}$ preprocessing must use worst-case at least $β\cdot c \log e(P)$ linear oracle queries. Thus, we solve the problem of sorting under partial information through an algorithm that is asymptotically tight across all three metrics.

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

↑