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 条
[1]  
Aldous D., 1991, Ann. Appl. Probab., V1, P228, DOI DOI 10.1214/AOAP/1177005936
[2]   A NOTE ON THE EXPECTED BEHAVIOR OF BINARY-TREE TRAVERSALS [J].
ANDERSSON, A .
COMPUTER JOURNAL, 1990, 33 (05) :471-472
[3]  
Bai ZD, 1998, RANDOM STRUCT ALGOR, V13, P319, DOI 10.1002/(SICI)1098-2418(199810/12)13:3/4<319::AID-RSA7>3.0.CO
[4]  
2-Y
[5]  
Barbour A., 1994, COMB PROBAB COMPUT, V3, P167, DOI 10.1017/S0963548300001097
[6]   ENGINEERING A SORT FUNCTION [J].
BENTLEY, JL ;
MCILROY, MD .
SOFTWARE-PRACTICE & EXPERIENCE, 1993, 23 (11) :1249-1265
[7]  
BERGERON F, 1992, LECT NOTES COMPUT SC, V581, P24
[8]   SOME ASYMPTOTIC THEORY FOR THE BOOTSTRAP [J].
BICKEL, PJ ;
FREEDMAN, DA .
ANNALS OF STATISTICS, 1981, 9 (06) :1196-1217
[9]   THE EXPECTED PERFORMANCE OF TRAVERSAL ALGORITHMS IN BINARY-TREES [J].
BRINCK, K .
COMPUTER JOURNAL, 1985, 28 (04) :426-432
[10]   ANALYSIS OF ALGORITHMS ON THREADED TREES [J].
BRINCK, K ;
FOO, NY .
COMPUTER JOURNAL, 1981, 24 (02) :148-155