多 pivoting 快速排序的概率分析
Probabilistic analysis of optimal multi-pivot QuickSort
AI总结:
本文研究了使用 K 个 pivots 的多 pivoting 快速排序算法,分析其在随机模型下的期望关键比较次数,并推导了 K 的渐进行为及收敛率。
摘要:
我们考虑了一种使用 K∈N 个 pivots 的多 pivoting 快速排序算法,用于将无序列表划分为 K+1 个子列表,以便递归处理这些子列表。在划分阶段,各种策略被使用。我们专注于在标准随机模型中最小化期望关键比较次数的策略,其中列表被给定为一个均匀排列的 distinct 元素列表。我们推导了期望和方差的渐近展开式,以及所有 K∈N 的极限定律,其中收敛适用于所有(指数)矩。对于 K≤4,我们还界定了在 Wasserstein 和 Kolmogorov-Smirnov 距离内的收敛速率。我们对期望的分析基于随机 m-ary 搜索树的经典结果。对于其余结果,使用组合考虑使收缩方法适用。
英文摘要:
We consider a multi-pivot QuickSort algorithm using $K\in\mathbb{N}$ pivot elements to partition a nonsorted list into $K+1$ sublists in order to proceed recursively on these sublists. For the partitioning stage, various strategies are in use. We focus on the strategy that minimizes the expected number of key comparisons in the standard random model, where the list is given as a uniformly permuted list of distinct elements. We derive asymptotic expansions for the expectation and variance of the number of key comparisons as well as a limit law for all $K\in\mathbb{N}$, where the convergence holds for all (exponential) moments. For $K\le 4$ we also bound the rate of convergence within the Wasserstein and Kolmogorov--Smirnov distance. Our analysis of the expectation is based on classical results for random $m$-ary search trees. For the remaining results, combinatorial considerations are used to make the contraction method applicable.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。