Analysis of execution costs for QuickSelect

QuickSelect is a search algorithm widely used for finding a key of target rank in a file of keys. When the algorithm compares keys during its execution, it must operate on the keys’ representations or internal structures, which were ignored by the previous studies that quantified the execution cost for the algorithm in terms of the number of required key comparisons. In this dissertation, we conduct analyses of running costs for the algorithm that take into account not only the number of key comparisons but also the cost of each key comparison. First we suppose that keys are independent and uniformly distributed in the unit interval (0, 1) and are represented as their binary expansions, and we derive exact and asymptotic expressions for the expected number of bit comparisons required by QuickSelect. We also establish a closed formula for the expectation that only involves finite summation and use it to compute the expected cost for various values of the target rank and the number of keys. Then we investigate execution costs for the algorithm applied to keys that are represented by more general sequences of symbols, and we identify limiting distributions associated with the costs. Further, we derive integral and series expressions for the expectations of the limiting distributions and use them to recapture previously obtained ii ABSTRACT results on the number of key comparisons required by QuickSelect.results on the number of key comparisons required by QuickSelect. Primary Reader: Professor James Allen Fill Secondary Reader: Professor S. Rao Kosaraju

[1]  Philippe Flajolet,et al.  Mellin Transforms and Asymptotics: Finite Differences and Rice's Integrals , 1995, Theor. Comput. Sci..

[2]  Luc Devroye,et al.  ON THE PROBABILISTIC WORST-CASE TIME OF “FIND” , 2001 .

[3]  Rudolf Grübel,et al.  Asymptotic distribution theory for Hoare's selection algorithm , 1996, Advances in Applied Probability.

[4]  Luc Devroye,et al.  Exponential Bounds for the Running Time of a Selection Algorithm , 1984, J. Comput. Syst. Sci..

[5]  David Thomas,et al.  The Art in Computer Programming , 2001 .

[6]  Volkert Paulsen,et al.  THE MOMENTS OF FIND , 1997 .

[7]  Uwe Rr Osler The Contraction Method for Recursive Algorithms , 1999 .

[8]  Takéhiko Nakama,et al.  Theoretical analysis of genetic algorithms in noisy environments based on a Markov Model , 2008, GECCO '08.

[9]  Takéhiko Nakama,et al.  Theoretical analysis of batch and on-line training for gradient descent learning in neural networks , 2009, Neurocomputing.

[10]  Svante Janson,et al.  The number of bit comparisons used by Quicksort: an average-case analysis , 2004, SODA '04.

[11]  R. K. Simpson Nature Neuroscience , 2022 .

[12]  Rudolf Grübel Hoare's selection algorithm: a Markov chain approach , 1998 .

[13]  James Allen Fill,et al.  Analysis of the Expected Number of Bit Comparisons Required by Quickselect , 2007, Algorithmica.

[14]  H. Mahmoud,et al.  Average-case analysis of multiple Quickselect: An algorithm for finding order statistics , 1996 .

[15]  Donald E. Knuth,et al.  Mathematical Analysis of Algorithms , 1971, IFIP Congress.

[16]  Donald E. Knuth,et al.  The art of computer programming: V.1.: Fundamental algorithms , 1997 .

[17]  Helmut Prodinger,et al.  Multiple Quickselect - Hoare's Find Algorithm for Several Elements , 1995, Inf. Process. Lett..

[18]  Philippe Flajolet,et al.  The Number of Symbol Comparisons in QuickSort and QuickSelect , 2009, ICALP.

[19]  Kai Lai Chung,et al.  A Course in Probability Theory , 1949 .

[20]  Takéhiko Nakama,et al.  Markov chain analysis of genetic algorithms in a wide variety of noisy environments , 2009, GECCO.

[21]  Helmut Prodinger,et al.  Mellin Transforms and Asymptotics: Digital Sums , 1994, Theor. Comput. Sci..

[22]  Mireille Régnier A Limiting Distribution for Quicksort , 1989, RAIRO Theor. Informatics Appl..

[23]  Steven Yantis,et al.  Visual interactions in the path of apparent motion , 1998, Nature Neuroscience.

[24]  Uwe Rr Osler,et al.  A Limit Theorem for "quicksort" , 1999 .

[25]  M. F.,et al.  Bibliography , 1985, Experimental Gerontology.

[26]  Takehiko Nakama,et al.  A Markov chain that models genetic algorithms in noisy environments , 2009 .

[27]  Hsien-Kuei Hwang,et al.  Quickselect and the Dickman Function , 2002, Combinatorics, Probability and Computing.

[28]  Hosam M. Mahmoud,et al.  Probabilistic Analysis of MULTIPLE QUICK SELECT , 1998, Algorithmica.

[29]  Helmut Prodinger,et al.  On a Constant Arising in the Analysis of Bit Comparisons in Quickselect , 2008 .

[30]  Take Nakama,et al.  Transition and convergence properties of genetic algorithms applied to fitness functions perturbed concurrently by additive and multiplicative noise , 2009, 2009 IEEE Congress on Evolutionary Computation.

[31]  Hosam M. Mahmoud,et al.  Analysis of Quickselect: An Algorithm for Order Statistics , 1995, RAIRO Theor. Informatics Appl..

[32]  Takéhiko Nakama Markov Chain Analysis of Genetic Algorithms in a Noisy Environment , 2008 .

[33]  M. V. Wilkes,et al.  The Art of Computer Programming, Volume 3, Sorting and Searching , 1974 .

[34]  Manuel Blum,et al.  Time Bounds for Selection , 1973, J. Comput. Syst. Sci..