Samplesort: A Sampling Approach to Minimal Storage Tree Sorting
Samplesort: A Sampling Approach to Minimal Storage Tree Sorting
复制标题
Samplesort:最小存储树排序的采样方法
DOI:
--
复制
发表时间:
1970
期刊:
影响因子:
--
通讯作者:
A. C. McKellar
中科院分区:
文献类型:
--
作者:
W. D. Frazer;A. C. McKellar
The methods currently in use and previously proposed for the choice of a root in minimal storage tree sorting are in reality methods for making inefficient statistical estimates of the median of the sequence to be sorted. By making efficient use of the information in a random sample chosen during input of the sequence to be sorted, significant improvements over ordinary minimal storage tree sorting can be made.
A procedure is proposed which is a generalization of minimal storage tree sorting and which has the following three properties: (a) There is a significant improvement (over ordinary minimal storage tree sorting) in the expected number of comparisons required to sort the input sequence. (b) The procedure is statistically insensitive to bias in the input sequence. (c) The expected number of comparisons required by the procedure approaches (slowly) the information-theoretic lower bound on the number of comparisons required. The procedure is, therefore, “asymptotically optimal.”