Analysis of quickfind with small subfiles
Visualitza/Obre
Estadístiques de LA Referencia / Recolecta
Inclou dades d'ús des de 2022
Cita com:
hdl:2117/97826
Tipus de documentReport de recerca
Data publicació2001-11
Condicions d'accésAccés obert
Tots els drets reservats. Aquesta obra està protegida pels drets de propietat intel·lectual i
industrial corresponents. Sense perjudici de les exempcions legals existents, queda prohibida la seva
reproducció, distribució, comunicació pública o transformació sense l'autorització del titular dels drets
Abstract
In this paper we investigate the variants of the well-known Hoare's Quickfind algorithm for the selection of the j-th element out of n, when recursion stops for subfiles whose size is below a predefined
threshold and a simpler algorithm is run instead. We provide estimates for the combined number of passes, comparisons and exchanges, for both the basic quickfind and median-of-three quickfind. In each
case, we consider two policies for the small subfiles: insertion sort and selection sort, but the analysis could be easily adapted for alternative policies. We obtain the average cost for each of these variants
and compare them with the costs of standard variants which do not use cutoff. We also give the best explicit cutoff bound for each of the variants.
CitacióMartinez, C., Panario, D., Viola, A. "Analysis of quickfind with small subfiles". 2001.
Forma partLSI-01-56-R
Col·leccions
Fitxers | Descripció | Mida | Format | Visualitza |
---|---|---|---|---|
R01-56.ps | 199,4Kb | Postscript | Visualitza/Obre |