Abstract
The profile of a trie, the most popular data structures on words,is a parameter that represents the number of nodes (either internal or external) with the same distance to the root. Several, if not all, trie parameters such as height, size, depth, shortest path, and fill-up level can be uniformly analyzed through the (external and internal) profiles. The analysis of profiles is surprisingly arduous but once it is carried out it reveals unusually intriguing and interesting behavior. We present a detailed study of the distribution of the profiles in a trie built over strings generated by a memoryless source (extension to Markov sources is possible). Our results are derived by methods of analytic algorithmics such as generating functions, Mellin transform, Poissonization and de-Poissonization, the saddle-point method, singularity analysis and uniform asymptotic analysis.
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
Devroye, L.: Laws of large numbers and tail inequalities for random tries and PATRICIA trees. Journal Computational and Applied Mathematics 142 (2002)
Flajolet, P., Gourdon, X., Dumas, P.: Mellin transforms and asymptotics: harmonic sums. Theoretical Computer Science 144, 3–58 (1995)
Gusfield, D.: Algorithms on Strings, Trees, and Sequences. Cambridge University Press, Cambridge (1997)
Hwang, H.-K.: Profiles of random trees: plane-oriented recursive trees (preprint submitted for publication, 2005)
Jacquet, P., Szpankowski, W.: Analytical depoissonization and its applications. Theoretical Computer Science 201, 1–62 (1998)
Knessl, C., Szpankowski, W.: On the number of full levels in tries. Random Structures and Algorithms 25, 247–276 (2004)
Knuth, D.E.: The Art of Computer Programming, Volume III: Sorting and Searching, 2nd edn. Addison Wesley, Reading (1998)
Mahmoud, H.M.: Evolution of Random Search Trees. John Wiley & Sons, New York (1992)
Nicodème, P.: Average profiles, from tries to suffix-trees. In: Martínez, C. (ed.) 2005 International Conference on Analysis of Algorithms. Discrete Mathematics and Theoretical Computer Science, pp. 257–266 (2005)
Park, G., Szpankowski, W.: Towards a complete characterization of tries. In: SIAM-ACM Symposium on Discrete Algorithms, Vancouver, pp. 33–42 (2005)
Park, G., Hwang, H.K., Nicodeme, P., Szpankowski, W.: Profile of Tries (preprint, 2006)
Pittel, B.: Paths in a random digital tree: limiting distributions. Advances in Applied Probability 18, 139–155 (1986)
Prodinger, H.: How to select a loser. Discrete Mathematics 120, 149–159 (1993)
Schachinger, W.: Asymptotic normality of recursive algorithms via martingale difference arrays. Discrete Mathematics and Theoretical Computer Science 4, 363–397 (2001)
Szpankowski, W.: Average Case Analysis of Algorithms on Sequences. Wiley, New York (2001)
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2008 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Park, G., Hwang, H.K., Nicodème, P., Szpankowski, W. (2008). Profile of Tries. In: Laber, E.S., Bornstein, C., Nogueira, L.T., Faria, L. (eds) LATIN 2008: Theoretical Informatics. LATIN 2008. Lecture Notes in Computer Science, vol 4957. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-78773-0_1
Download citation
DOI: https://doi.org/10.1007/978-3-540-78773-0_1
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-78772-3
Online ISBN: 978-3-540-78773-0
eBook Packages: Computer ScienceComputer Science (R0)