计算机科学 > 数据结构与算法
[提交于 2016年8月5日]
标题:Fast Deterministic Selection
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The Median of Medians (also known as BFPRT) algorithm, although a landmark theoretical achievement, is seldom used in practice because it and its variants are slower than simple approaches based on sampling. The main contribution of this paper is a fast linear-time deterministic selection algorithm QuickselectAdaptive based on a refined definition of MedianOfMedians. The algorithm's performance brings deterministic selection---along with its desirable properties of reproducible runs, predictable run times, and immunity to pathological inputs---in the range of practicality. We demonstrate results on independent and identically distributed random inputs and on normally-distributed inputs. Measurements show that QuickselectAdaptive is faster than state-of-the-art baselines.
提交历史
来自:Andrei Alexandrescu[v1] 2016年8月5日 星期五 00:00:00 UTC