Skip to main content

Profile of Tries

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 4957))

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.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Devroye, L.: Laws of large numbers and tail inequalities for random tries and PATRICIA trees. Journal Computational and Applied Mathematics 142 (2002)

    Google Scholar 

  2. Flajolet, P., Gourdon, X., Dumas, P.: Mellin transforms and asymptotics: harmonic sums. Theoretical Computer Science 144, 3–58 (1995)

    Article  MATH  MathSciNet  Google Scholar 

  3. Gusfield, D.: Algorithms on Strings, Trees, and Sequences. Cambridge University Press, Cambridge (1997)

    MATH  Google Scholar 

  4. Hwang, H.-K.: Profiles of random trees: plane-oriented recursive trees (preprint submitted for publication, 2005)

    Google Scholar 

  5. Jacquet, P., Szpankowski, W.: Analytical depoissonization and its applications. Theoretical Computer Science 201, 1–62 (1998)

    Article  MATH  MathSciNet  Google Scholar 

  6. Knessl, C., Szpankowski, W.: On the number of full levels in tries. Random Structures and Algorithms 25, 247–276 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  7. Knuth, D.E.: The Art of Computer Programming, Volume III: Sorting and Searching, 2nd edn. Addison Wesley, Reading (1998)

    Google Scholar 

  8. Mahmoud, H.M.: Evolution of Random Search Trees. John Wiley & Sons, New York (1992)

    MATH  Google Scholar 

  9. 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)

    Google Scholar 

  10. Park, G., Szpankowski, W.: Towards a complete characterization of tries. In: SIAM-ACM Symposium on Discrete Algorithms, Vancouver, pp. 33–42 (2005)

    Google Scholar 

  11. Park, G., Hwang, H.K., Nicodeme, P., Szpankowski, W.: Profile of Tries (preprint, 2006)

    Google Scholar 

  12. Pittel, B.: Paths in a random digital tree: limiting distributions. Advances in Applied Probability 18, 139–155 (1986)

    Article  MATH  MathSciNet  Google Scholar 

  13. Prodinger, H.: How to select a loser. Discrete Mathematics 120, 149–159 (1993)

    Article  MATH  MathSciNet  Google Scholar 

  14. Schachinger, W.: Asymptotic normality of recursive algorithms via martingale difference arrays. Discrete Mathematics and Theoretical Computer Science 4, 363–397 (2001)

    MATH  MathSciNet  Google Scholar 

  15. Szpankowski, W.: Average Case Analysis of Algorithms on Sequences. Wiley, New York (2001)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Eduardo Sany Laber Claudson Bornstein Loana Tito Nogueira Luerbio Faria

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics