Abstract
We consider a model of random trees similar to the split trees of Devroye (SIAM J. Comput. 28(2), 409–432, 1998) in which a set of items is recursively partitioned. Our model allows for more flexibility in the choice of the partitioning procedure, and has weighted edges. We prove that for this model, the height H n of a random tree is asymptotic to c log n in probability for a constant c that is uniquely characterized in terms of multivariate large deviations rate functions. This extension permits us to obtain the height of pebbled tries, pebbled ternary search tries, d-ary pyramids, and to study geometric properties of partitions generated by k-d trees. The model also includes all polynomial families of increasing trees recently studied by Broutin et al. (The height of increasing trees. Random Structures and Algorithms, 2007, in press).
Similar content being viewed by others
References
Archibald, M., Clément, J.: Average depth in binary search tree with repeated keys. In: Fourth Colloquium on Mathematics and Computer Science, volume AG of DMTCS Proceedings, pp. 309–320. Discrete Mathematics and Theoretical Computer Science (2006)
Athreya, K.B., Ney, P.E.: Branching Processes. Springer, Berlin (1972)
Barabási, A.L., Albert, R.: Emergence of scaling in random network. Science 286, 509–512 (1999)
Bentley, J.L.: Multidimensional binary search trees used for associative searching. Commun. ACM 18, 509–517 (1975)
Bentley, J.L., Sedgewick, R.: Fast algorithm for sorting and searching strings. In: Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 360–369. SIAM, 1997
Bergeron, F., Flajolet, P., Salvy, B.: Varieties of increasing trees. In: CAAP, volume 581 of Lecture Notes in Computer Science, pp. 24–48. Springer, Berlin (1992)
Bhattacharya, P.K., Gastwirth, J.L.: A nonhomogeneous markov model of a chain-letter scheme. In: Rizvi, M.H., Rustagi, J.S., Siegmund, D.(eds) Recent Advances in Statistics: Papers in Honor of Herman Chernoff, Academic Press, New York (1983)
Biggins, J.D.: The asymptotic shape of the branching random walk. Adv. Appl. Probab. 10, 62–84 (1978)
Biggins, J.D.: The growth and spread of the general branching random walk. Ann. Appl. Probab. 5, 1008–1024 (1995)
Biggins, J.D.: How fast does a general branching random walk spread. In: Athreya, K.B., Jagers, P.(eds) Classical and Modern Branching Processes, Springer, New York (1996)
Biggins, J.D., Grey, D.R.: A note on the growth of random trees. Statist. Probab. Lett. 32, 339–342 (1997)
Billingsley, P.: Probability and Measure, 3rd edn. Wiley, New York (1995)
Broutin, N.: Shedding New Light on Random Trees. Ph.D. thesis, McGill University, Montreal (2007)
Broutin, N., Devroye, L.: Large deviations for the weighted height of an extended class of trees. Algorithmica 46, 271–297 (2006)
Broutin, N., Devroye, L.: An analysis of the height of tries with random weights on the edges. Combinatorics, Probability and Computing 17, 161–202 (2008)
Broutin, N., Devroye, L.: The height of list tries and TST. In: International Conference on Analysis of Algorithms, DMTCS Proceedings. Discrete Mathematics and Theoretical Computer Science, vol. AH, pp. 271–282 (2007)
Broutin, N., Devroye, L., McLeish, E., de la Salle, M.: The height of increasing trees. Random Structures and Algorithms (2007, in press) (25 pages)
Brown, G.G., Shubert, B.O.: On random binary trees. Math. Oper. Res. 9, 43–65 (1984)
Clampett, H.A.: Randomized binary searching with tree structures. Commun. ACM 7(3), 163–165 (1964)
Clément, J., Flajolet, P., Vallée, B.: The analysis of hybrid trie structures. In: 9th annual ACM-SIAM Symposium on Discrete Algorithms, pp. 531–539. SIAM Press, Philadelphia, PA (1998)
Clément, J., Flajolet, P., Vallée, B.: Dynamical source in information theory: a general analysis of trie structures. Algorithmica 29, 307–369 (2001)
Coffman, E.G., Eve, J.: File structures using hashing functions. Commun. ACM 13, 427–436 (1970)
de la Briandais, R.: File searching using variable length keys. In: Proceedings of the Western Joint Computer Conference, Montvale, NJ, USA. AFIPS Press (1959)
Dembo, A., Zeitouni, O.: Large Deviation Techniques and Applications, 2nd edn. Springer, Berlin (1998)
den Hollander, F.: Large Deviations. American Mathematical Society, Providence, RI (2000)
Deuschel, J.-D., Stroock, D.W.: Large Deviations. American Mathematical Society, Providence, RI (1989)
Devroye, L.: A note on the height of binary search trees. J. ACM 33, 489–498 (1986)
Devroye, L.: Branching processes in the analysis of the heights of trees. Acta Inform. 24, 277–298 (1987)
Devroye, L.: On the expected height of fringe balanced trees. Acta Inform. 30, 459–466 (1993)
Devroye, L.: Universal limit laws for depth in random trees. SIAM J. Comput. 28(2), 409–432 (1998)
Devroye, L., Jabbour, J., Zamora-Cura, C.: Squarish k-d trees. SIAM J. Comput. 30, 1678–1700 (2001)
Duch, A.: Design and Analysis of Multidimensional Data Structures. Ph.D. thesis, UPC, Barcelona (2004)
Duch, A., Estivill-Castro, V., Martínez, C.: Randomized k-dimensional binary search trees. In: Chwa, K.-Y., Ibarra, O.H.(eds) Proc. of the 9th International Symposium on Algorithms and Computation (ISAAC’98), vol. 1533 of Lecture Notes in Computer Science, pp. 199–208. Springer, Berlin (1998)
Duch, A., Martínez, C.: On the average performance of orthogonal range search in multidimensional data structures. J. Algorithms 44(1), 226–245 (2002)
Ellis, R.S.: Large deviations for a general class of random vectors. Ann. Probab. 12, 1–12 (1984)
Finkel, R.A., Bentley, J.L.: Quad trees, a data structure for retrieval on composite keys. Acta Inform. 4, 1–19 (1974)
Flajolet, P.: The ubiquitous digital tree. In: Durand, B., Thomas, W.(eds) STACS 2006, Annual Symposium on Theoretical Aspects of Computer Science, vol 3884 of Lecture Notes in Computer Science, pp. 1–22. Springer, Berlin (2006)
Flajolet, P., Puech, C.: Partial match retrieval of multidimensional data. J. ACM 33(2), 371–407 (1986)
Fredkin, E.: Trie memory. Commun. ACM 3(9), 490–499 (1960)
Gärtner, J.: On large deviations from the invariant measure. Theory Probabab. Appl. 22, 24–39 (1977)
Gastwirth, J.L., Bhattacharya, P.K.: Two probability models of pyramid or chain letter schemes demonstrating that their promotional claims are unreliable. Oper. Res. 32(3), 527–536 (1984)
Gonnet, G.H., Baeza-Yates, R.: Handbook of Algorithms and Data Structures, 2nd edn. Addison-Wesley, Workingham (1991)
Graham, R.L., Knuth, D.E., Patashnik, O.: Concrete Mathematics, 2nd edn. Addison-Wesley, Reading, MA (1994)
Groeneboom, P., Oosterhoff, J., Ruymgaart, F.H.: Large deviation theorems for empirical probability measures. Ann. Probab. 7, 553–586 (1979)
Hoare, C.A.R.: Quicksort. Comput. J. 5, 10–15 (1962)
Huffman, D.A.: A method for constructing minimum redundancy codes. In: Proceedings of the Institude of Radio Engineers, pp. 1098–1102 (1952)
Knuth, D.E.: The Art of Computer Programming: Sorting and Searching, vol. 3. Addison-Wesley, Reading, MA (1973)
Konheim, A.G., Newman, D.J.: A note on growing binary trees. Discrete Math. 4, 57–63 (1973)
Lynch, W.C.: More combinatorial properties of certain trees. Comput. J. 7, 299–302 (1965)
Mahmoud, H.M.: A strong law for the height of random binary pyramids. Ann. Appl. Probab. 4, 923–932 (1994)
Martínez, C., Panholzer, A., Prodinger, H.: Partial match in relaxed multidimensional search trees. Algorithmica 29(1–2), 181–204 (2001)
Martínez, C., Roura, S.: Optimal sampling strategies in quicksort and quickselect. SIAM J. Comput. 31, 683–705 (2001)
Morrison, D.R.: Patricia—Practical Algorithm To Retrieve Information Coded in Alphanumeric. J. ACM 15, 514–534 (1968)
Neininger, R., Rüschendorf, L.: A survey of multivariate aspects of the contraction method. Discrete Math. Theor. Comput. Sci. 8, 31–56 (2006)
Nerman, O.: On the convergence of a supercritical general (C-M-J) branching process. Zeitschrift für Wahrscheinlichkeitstheorie verwandte Gebiete 57, 365–395 (1981)
Pittel, B.: Note on the height of random recursive trees and m-ary search trees. Random Struct. Algorithms 5, 337–347 (1994)
Rachev, S.T., Rüschendorf, L.: Probability metrics and recursive algorithms. Adv. Appl. Probab. 27, 770–799 (1995)
Rockafellar, R.: Convex Analysis. Princeton University Press, Princeton, NJ (1970)
Rösler, U.: A fixed point theorem for distributions. Stochastic Process. Appl. 37, 195–214 (1992)
Rösler, U., Rüschendorf, L.: The contraction method for recursive algorithms. Algorithmica 29, 3–33 (2001)
Samet, H.: Applications of Spatial Data Structures: Computer Graphics, Image Processing, and GIS. Addison-Wesley, Reading, MA (1990)
Samet, H.: The Design and Analysis of Spatial Data Structures. Addison-Wesley, Reading, MA (1990)
Sedgewick, R., Flajolet, P.: An Introduction to the Analysis of Algorithm. Addison-Wesley, Reading, MA (1996)
Smythe, R.T., Mahmoud, H.M.: A survey of recursive trees. Theor. Probab. Math. Statist. 51, 1–27 (1995)
Szpankowski, W.: Average Case Analysis of Algorithms on Sequences. Wiley, New York (2001)
Van Emden, M.: Increasing the efficiency of quicksort. Commun. ACM 13, 563–567 (1970)
Author information
Authors and Affiliations
Corresponding author
Additional information
Research of the authors was supported by NSERC Grant A3456 and a James McGill fellowship.
Rights and permissions
About this article
Cite this article
Broutin, N., Devroye, L. & McLeish, E. Weighted height of random trees. Acta Informatica 45, 237–277 (2008). https://doi.org/10.1007/s00236-008-0069-0
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00236-008-0069-0