Distributional Convergence for the Number of Symbol Comparisons Used by QuickSort (Extended Abstract)
Discrete mathematics & theoretical computer science, DMTCS Proceedings vol. AM, 21st International Meeting on Probabilistic, Combinatorial, and Asymptotic Methods in the Analysis of Algorithms (AofA'10), DMTCS Proceedings vol. AM, 21st International Meeting on Probabilistic, Combinatorial, and Asymptotic Methods in the Analysis of Algorithms (AofA'10) (2010) Cet article a éte moissonné depuis la source Episciences

Voir la notice de l'article

Most previous studies of the sorting algorithm $\mathtt{QuickSort}$ have used the number of key comparisons as a measure of the cost of executing the algorithm. Here we suppose that the $n$ independent and identically distributed (iid) keys are each represented as a sequence of symbols from a probabilistic source and that $\mathtt{QuickSort}$ operates on individual symbols, and we measure the execution cost as the number of symbol comparisons. Assuming only a mild "tameness'' condition on the source, we show that there is a limiting distribution for the number of symbol comparisons after normalization: first centering by the mean and then dividing by $n$. Additionally, under a condition that grows more restrictive as $p$ increases, we have convergence of moments of orders $p$ and smaller. In particular, we have convergence in distribution and convergence of moments of every order whenever the source is memoryless, i.e., whenever each key is generated as an infinite string of iid symbols. This is somewhat surprising: Even for the classical model that each key is an iid string of unbiased ("fair'') bits, the mean exhibits periodic fluctuations of order $n$.
@article{DMTCS_2010_special_258_a36,
     author = {fill, james Allen},
     title = {Distributional {Convergence} for the {Number} of {Symbol} {Comparisons} {Used} by {QuickSort} {(Extended} {Abstract)}},
     journal = {Discrete mathematics & theoretical computer science},
     year = {2010},
     volume = {DMTCS Proceedings vol. AM, 21st International Meeting on Probabilistic, Combinatorial, and Asymptotic Methods in the Analysis of Algorithms (AofA'10)},
     doi = {10.46298/dmtcs.2800},
     language = {en},
     url = {http://geodesic.mathdoc.fr/articles/10.46298/dmtcs.2800/}
}
TY  - JOUR
AU  - fill, james Allen
TI  - Distributional Convergence for the Number of Symbol Comparisons Used by QuickSort (Extended Abstract)
JO  - Discrete mathematics & theoretical computer science
PY  - 2010
VL  - DMTCS Proceedings vol. AM, 21st International Meeting on Probabilistic, Combinatorial, and Asymptotic Methods in the Analysis of Algorithms (AofA'10)
UR  - http://geodesic.mathdoc.fr/articles/10.46298/dmtcs.2800/
DO  - 10.46298/dmtcs.2800
LA  - en
ID  - DMTCS_2010_special_258_a36
ER  - 
%0 Journal Article
%A fill, james Allen
%T Distributional Convergence for the Number of Symbol Comparisons Used by QuickSort (Extended Abstract)
%J Discrete mathematics & theoretical computer science
%D 2010
%V DMTCS Proceedings vol. AM, 21st International Meeting on Probabilistic, Combinatorial, and Asymptotic Methods in the Analysis of Algorithms (AofA'10)
%U http://geodesic.mathdoc.fr/articles/10.46298/dmtcs.2800/
%R 10.46298/dmtcs.2800
%G en
%F DMTCS_2010_special_258_a36
fill, james Allen. Distributional Convergence for the Number of Symbol Comparisons Used by QuickSort (Extended Abstract). Discrete mathematics & theoretical computer science, DMTCS Proceedings vol. AM, 21st International Meeting on Probabilistic, Combinatorial, and Asymptotic Methods in the Analysis of Algorithms (AofA'10), DMTCS Proceedings vol. AM, 21st International Meeting on Probabilistic, Combinatorial, and Asymptotic Methods in the Analysis of Algorithms (AofA'10) (2010). doi: 10.46298/dmtcs.2800

Cité par Sources :