Analysis of swaps in Radix selection

Amr Ahmed Abd Elmoneim Elmasry*, Hosam Mahmoud

*Corresponding author af dette arbejde
2 Citationer (Scopus)

Abstract

Radix Sort is a sorting algorithm based on analyzing digital data. We study the number of swaps made by Radix Select (a one-sided version of Radix Sort) to find an element with a randomly selected rank. This kind of grand average provides a smoothing over all individual distributions for specific fixed-order statistics. We give an exact analysis for the grand mean and an asymptotic analysis for the grand variance, obtained by poissonization, the Mellin transform, and depoissonization. The digital data model considered is the Bernoulli(p). The distributions involved in the swaps experience a phase change between the biased cases (p ≠ 1/2 ) and the unbiased case (p = 1/2 ). In the biased cases, the grand distribution for the number of swaps (when suitably scaled) converges to that of a perpetuity built from a two-point distribution. The tool for this proof is contraction in the Wasserstein metric space, and identifying the limit as the fixed-point solution of a distributional equation. In the unbiased case the same scaling for the number of swaps gives a limiting constant in probability.

OriginalsprogEngelsk
TidsskriftAdvances in Applied Probability
Vol/bind43
Udgave nummer2
Sider (fra-til)524-544
Antal sider21
ISSN0001-8678
DOI
StatusUdgivet - 2011

Fingeraftryk

Dyk ned i forskningsemnerne om 'Analysis of swaps in Radix selection'. Sammen danner de et unikt fingeraftryk.

Citationsformater