On The Variance Of Quickselect

ANALCO '06: Proceedings of the Meeting on Analytic Algorithmics and Combinatorics(2006)

引用 2|浏览22
暂无评分
摘要
Quickselect with median-of-three is routinely used as the method of choice for selection of the mth element out of n in general-purpose libraries such as the C++ Standard Template Library. Its average behavior is fairly well understood and has been shown to outperform that of the standard variant, which chooses a random pivot on each stage. However, no results were previously known about the variance of the median-of-three variant, other than for the number of comparisons made when the rank in of the sought element is given by a uniform random variable. Here, we consider the variance of the number of comparisons made by quickselect with median-of-three and other quickselect variants when selecting the mth element for m/n -> alpha as n -> infinity. We also investigate the behavior of proportion-from-s sampling as s -> infinity.
更多
查看译文
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要