2000 | OriginalPaper | Buchkapitel
An Efficient Algorithm for the Approximate Median Selection Problem
verfasst von : Sebastiano Battiato, Domenico Cantone, Dario Catalano, Gianluca Cincotti, Micha Hofri
Erschienen in: Algorithms and Complexity
Verlag: Springer Berlin Heidelberg
Enthalten in: Professional Book Archive
Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
We present an efficient algorithm for the approximate median selection problem. The algorithm works in-place; it is fast and easy to implement. For a large array it returns, with high probability, a very close estimate of the true median. The running time is linear in the length n of the input. The algorithm performs fewer than $$ \frac{4} {3}n $$ comparisons and $$ \frac{1} {3}n $$ exchanges on the average. We present analytical results of the performance of the algorithm, as well as experimental illustrations of its precision.