旋转瓶排序和退火排序:通过循环随机比较的不经意排序
Spin-the-bottle Sort and Annealing Sort: Oblivious Sorting via Round-robin Random Comparisons
摘要:
我们研究基于随机循环比较的排序算法。具体来说,我们研究旋转瓶排序,其中比较是不受限制的,和退火排序,其中比较被限制到一个由\emph{temperature}参数界定的距离。这两种算法都是简单的,随机的,数据无关的排序算法,这是有用的隐私保护计算,但正如我们所示,退火排序是更有效的。我们表明,有一个输入置换,导致旋转瓶排序需要$Ω(n^2\log n)$预期的时间,以成功,并在$O(n^2\log n)$时间,该算法成功的概率很高的任何输入。我们还展示了退火排序的一个实现,它在$O(n\log n)$时间内运行,并且以非常高的概率成功。
英文摘要:
We study sorting algorithms based on randomized round-robin comparisons. Specifically, we study Spin-the-bottle sort, where comparisons are unrestricted, and Annealing sort, where comparisons are restricted to a distance bounded by a \emph{temperature} parameter. Both algorithms are simple, randomized, data-oblivious sorting algorithms, which are useful in privacy-preserving computations, but, as we show, Annealing sort is much more efficient. We show that there is an input permutation that causes Spin-the-bottle sort to require $Ω(n^2\log n)$ expected time in order to succeed, and that in $O(n^2\log n)$ time this algorithm succeeds with high probability for any input. We also show there is an implementation of Annealing sort that runs in $O(n\log n)$ time and succeeds with very high probability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。