找到一个平庸的球员
Finding a Mediocre Player
摘要:
考虑$n$元素的全序集$S$;例如,一组网球运动员及其排名。进一步假设它们的排序是全序的,因此满足传递性和反对称性。根据Frances Yao(1974),如果一个元素(参与者)既不在$S$的顶部$i$中,也不在底部$j$元素中,则称该元素为$(i,j)$ - \emph{mediocre}。找到一个平庸的元素与找到中间的元素密切相关。早在$40$几年前,Yao就提出了一个非常简单而优雅的算法来寻找一个$(i,j)$ -平庸的元素:任意挑选$i+j+1$元素,并从中选择第$(i+1)$ -最大的元素。她还问:“这是最好的算法吗?“从那以后,似乎没有人找到更好的算法。我们首先提供了一个确定性的算法,即使使用当前的最佳选择算法,也能在大范围的$i$值(以及相应的合适的$j=j(i)$)中击败姚算法中的最坏情况比较界。然后,我们重复随机算法的练习;即使使用最佳选择算法,我们的算法的平均比较次数也会击败姚算法中的平均比较界限,以获得另一个大范围的$i$值(以及相应的合适的$j=j(i)$);这种改进在对称情况下$i=j$最显着。此外,在分析姚算法中得到的紧界使我们能够对这类算法给出一个明确的答案。总之,我们回答姚的问题如下:(i)~“目前没有”确定性算法和(ii)~“肯定没有”随机算法。(In公平地说,姚明在确定性算法的上下文中提出了这个问题。
英文摘要:
Consider a totally ordered set $S$ of $n$ elements; as an example, a set of tennis players and their rankings. Further assume that their ranking is a total order and thus satisfies transitivity and anti-symmetry. Following Frances Yao (1974), an element (player) is said to be $(i,j)$-\emph{mediocre} if it is neither among the top $i$ nor among the bottom $j$ elements of $S$. Finding a mediocre element is closely related to finding the median element. More than $40$ years ago, Yao suggested a very simple and elegant algorithm for finding an $(i,j)$-mediocre element: Pick $i+j+1$ elements arbitrarily and select the $(i+1)$-th largest among them. She also asked: "Is this the best algorithm?" No one seems to have found a better algorithm ever since. We first provide a deterministic algorithm that beats the worst-case comparison bound in Yao's algorithm for a large range of values of $i$ (and corresponding suitable $j=j(i)$) even if the current best selection algorithm is used. We then repeat the exercise for randomized algorithms; the average number of comparisons of our algorithm beats the average comparison bound in Yao's algorithm for another large range of values of $i$ (and corresponding suitable $j=j(i)$) even if the best selection algorithm is used; the improvement is most notable in the symmetric case $i=j$. Moreover, the tight bound obtained in the analysis of Yao's algorithm allows us to give a definite answer for this class of algorithms. In summary, we answer Yao's question as follows: (i)~"Presently not" for deterministic algorithms and (ii)~"Definitely not" for randomized algorithms. (In fairness, it should be said however that Yao posed the question in the context of deterministic algorithms.)
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。