计算机科学 > 数据结构与算法
[提交于 2017年10月20日]
标题:Probabilistic Analysis of the Dual-Pivot Quicksort "Count"
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Recently, Aum\"uller and Dietzfelbinger proposed a version of a dual-pivot quicksort, called "Count", which is optimal among dual-pivot versions with respect to the average number of key comparisons required. In this note we provide further probabilistic analysis of "Count". We derive an exact formula for the average number of swaps needed by "Count" as well as an asymptotic formula for the variance of the number of swaps and a limit law. Also for the number of key comparisons the asymptotic variance and a limit law are identified. We also consider both complexity measures jointly and find their asymptotic correlation.
提交历史
来自:Ralph Neininger[v1] 2017年10月20日 星期五 12:32:37 UTC