Abstract
We prove a general lower bound on the average-case complexity of Shellsort: the average number of data-movements (and comparisons) made by a p-pass Shellsort for any incremental sequence is Ω(pn1+1/p) for every p. The proof method is an incompressibility argument based on Kolmogorov complexity. Using similar techniques, the average-case complexity of several other sorting algorithms is analyzed.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
H. Buhrman, T. Jiang, M. Li, and P. Vitányi, New applications of the incompressibility method, in the Proceedings of ICALP’99.
J. Incerpi and R. Sedgewick, Improved upper bounds on Shellsort, Journal of Computer and System Sciences, 31(1985), 210–224.
S. Janson and D.E. Knuth, Shellsort with three increments, Random Struct. Alg., 10 (1997), 125–142.
S.V. Kerov and A.M. Versik, Asymptotics of the Plancherel measure on symmetric group and the limiting form of the Young tableaux, Soviet Math. Dokl. 18 (1977), 527–531.
J.F.C. Kingman, The ergodic theory of subadditive stochastic processes, Ann. Probab. 1 (1973), 883–909.
A.N. Kolmogorov, Three approaches to the quantitative definition of information. Problems Inform. Transmission, 1:1 (1965), 1–7.
D.E. Knuth, The Art of Computer Programming, Vol.3: Sorting and Searching, Addison-Wesley, 1973 (1st Edition), 1998 (2nd Edition).
M. Li and P.M.B. Vitányi, An Introduction to Kolmogorov Complexity and its Applications, Springer-Verlag, New York, 2nd Edition, 1997.
B.F. Logan and L.A. Shepp, A variational problem for random Young tableaux, Advances in Math. 26 (1977), 206–222.
A. Papernov and G. Stasevich, A method for information sorting in computer memories, Problems Inform. Transmission, 1:3 (1965), 63–75.
C.G. Plaxton, B. Poonen and T. Suel, Improved lower bounds for Shellsort, Proc. 33rd IEEE Symp. Foundat. Comput. Sci., pp. 226–235, 1992.
V.R. Pratt, Shellsort and Sorting Networks, Ph.D. Thesis, Stanford Univ., 1972.
R. Sedgewick, Analysis of Shellsort and related algorithms, presented at the Fourth Annual European Symposium on Algorithms, Barcelona, September, 1996.
R. Sedgewick, Open problems in the analysis of sorting and searching algorithms, Presented at Workshop on Prob. Analysis of Algorithms, Princeton, 1997.
D.L. Shell, A high-speed sorting procedure, Commun. ACM, 2:7 (1959), 30–32.
R.E. Tarjan, Sorting using networks of queues and stacks, Journal of the ACM, 19 (1972), 341–346.
A.C.C. Yao, An analysis of (h; k; 1)-Shellsort, J. of Algorithms, 1 (1980), 14–50.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1999 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Jiang, T., Li, M., Vitányi, P. (1999). Average-Case Complexity of Shellsort (Preliminary Version) . In: Wiedermann, J., van Emde Boas, P., Nielsen, M. (eds) Automata, Languages and Programming. Lecture Notes in Computer Science, vol 1644. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-48523-6_42
Download citation
DOI: https://doi.org/10.1007/3-540-48523-6_42
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-66224-2
Online ISBN: 978-3-540-48523-0
eBook Packages: Springer Book Archive