Phase change of limit laws in the quicksort recurrence under varying toll functions

被引:52
作者
Hwang, HK [1 ]
Neininger, R
机构
[1] Acad Sinica, Inst Stat Sci, Taipei 115, Taiwan
[2] McGill Univ, Sch Comp Sci, Montreal, PQ H3A 2K6, Canada
关键词
quicksort; binary search trees; analysis of algorithms; limit distribution; method of moments; contraction method;
D O I
10.1137/S009753970138390X
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We characterize all limit laws of the quicksort-type random variables defined recursively by L (X-n) = L (XIn + Xn-1-I-n* + T-n) when the toll function T-n varies and satisfies general conditions, where (X-n), (X-n*), (I-n, T-n) are independent, I-n is uniformly distributed over {0,..., n-1}, and L (X-n) = L (X-n*). When the toll function T-n (cost needed to partition the original problem into smaller subproblems) is small (roughly lim sup(n-->infinity) log E (T-n) / log n less than or equal to 1/2), X-n is asymptotically normally distributed; nonnormal limit laws emerge when T-n becomes larger. We give many new examples ranging from the number of exchanges in quicksort to sorting on a broadcast communication model, from an in-situ permutation algorithm to tree traversal algorithms, etc.
引用
收藏
页码:1687 / 1722
页数:36
相关论文
共 61 条