arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1801.09431cs.DS
收藏

广义蛙跳抽样排序:一类$O(n \log^2 n)$最坏情况复杂度和$O(n \log n)$平均情况复杂度排序算法

Generalized Leapfrogging Samplesort: A Class of $O(n \log^2 n)$ Worst-Case Complexity and $O(n \log n)$ Average-Case Complexity Sorting Algorithms

Eliezer A. Albacea

摘要:

原始的蛙跳采样排序对大小为$s$的排序样本和大小为$s+1$的未排序部分进行操作。我们将其推广到大小为$s$的排序样本和大小为$(2^k-1)(s+1)$的未排序部分,其中$k = O(1)$。我们提出了这类算法的实际实现,我们表明,最坏情况下的复杂性是$O(n \log^2 n)$和平均情况下的复杂性是$O(n \log n)$。关键词:样本排序,快速排序,蛙跳样本排序,排序,算法分析。

英文摘要:

The original Leapfrogging Samplesort operates on a sorted sample of size $s$ and an unsorted part of size $s+1$. We generalize this to a sorted sample of size $s$ and an unsorted part of size $(2^k-1)(s+1)$, where $k = O(1)$. We present a practical implementation of this class of algorithms and we show that the worst-case complexity is $O(n \log^2 n)$ and the average-case complexity is $O(n \log n)$. Keywords: Samplesort, Quicksort, Leapfrogging Samplesort, sorting, analysis of algorithms.

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

↑