Skip to main content

Analysis of a Class of Tries with Adaptive Multi-digit Branching

  • Conference paper
Algorithms and Data Structures (WADS 2005)

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

Included in the following conference series:

  • 1029 Accesses

Abstract

We study a class of adaptive multi-digit tries, in which the numbers of digits r n processed by nodes with n incoming strings are such that, in memoryless model (with n → ∞):

\(r_n \longrightarrow \frac{log n}{\eta} (pr.)\)

where η is an algorithm-specific constant. Examples of known data structures from this class include LC-tries (Andersson and Nilsson, 1993), “relaxed” LC-tries (Nilsson and Tikkanen, 1998), tries with logarithmic selection of degrees of nodes, etc. We show, that the average depth D n of such tries in asymmetric memoryless model has the following asymptotic behavior (with n → ∞):

\(D_n = \frac{log log n}{-log(1 - h/\eta)}(1 + o(1))\)

where n is the number of strings inserted in the trie, and h is the entropy of the source. We use this formula to compare performance of known adaptive trie structures, and to predict properties of other possible implementations of tries in this class.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Andersson, A., Nilsson, S.: Improved Behaviour of Tries by Adaptive Branching. Information Processing Letters 46, 295–300 (1993)

    Article  MATH  MathSciNet  Google Scholar 

  2. Andersson, A., Nilsson, S.: Faster Searching in Tries and Quadtries – An Analysis of Level Compression. In: Proc. 2nd Annual European Symp. on Algorithms, pp. 82–93 (1994)

    Google Scholar 

  3. de la Briandeis, R.E.: File searching using variable length keys. In: Proc. Western Joint Computer Conference., vol. 15. AFIPS Press (1959)

    Google Scholar 

  4. Clement, J., Flajolet, P., Vallée, B.: The analysis of hybrid trie structures. In: Proc. Annual ACM-SIAM Symp. on Discrete Algorithms., San Francisco, CA, pp. 531–539 (1998)

    Google Scholar 

  5. Clement, J., Flajolet, P., Vallée, B.: Dynamic sources in information theory: A general analysis of trie structures. Algorithmica 29(1/2), 307–369 (2001)

    Article  MATH  MathSciNet  Google Scholar 

  6. Coffman Jr., E.G., Eve, J.: File Structures Using Hashing Functions. Comm. ACM 13(7), 427–436 (1970)

    Article  Google Scholar 

  7. Cover, T.M., Thomas, J.M.: Elements of Information Theory.. John Wiley & Sons, New York (1991)

    Book  Google Scholar 

  8. Devroye, L.: A Note on the Average Depths in Tries. SIAM J. Computing 28, 367–371 (1982)

    MATH  MathSciNet  Google Scholar 

  9. Devroye, L.: A Note on the Probabilistic Analysis of PATRICIA Tries. Rand. Structures & Algorithms 3, 203–214 (1992)

    Article  MATH  MathSciNet  Google Scholar 

  10. Devroye, L.: Analysis of Random LC Tries. Rand. Structures & Algorithms 19(3-4), 359–375 (2001)

    Article  MATH  MathSciNet  Google Scholar 

  11. Devroye, L., Szpankowski, W.: Probabilistic Behavior of Asymmetric LC-Tries, Rand. Structures & Algorithms – submitted

    Google Scholar 

  12. Fagin, R., Nievergelt, J., Pipinger, N., Strong, H.R.: Extendible Hashing – A Fast Access Method for Dynamic Files. ACM Trans. Database Syst. 4(3), 315–344 (1979)

    Article  Google Scholar 

  13. Flajolet, P., Sedgewick, R.: Digital Search Trees Revisited. SIAM J. Computing 15, 748–767 (1986)

    Article  MATH  MathSciNet  Google Scholar 

  14. Fredkin, E.: Trie Memory. Comm. ACM 3, 490–500 (1960)

    Article  Google Scholar 

  15. Knuth, D.E.: The Art of Computer Programming. Sorting and Searching, vol. 3. Addison-Wesley, Reading (1973)

    Google Scholar 

  16. Morrison, D.A.: PATRICIA – Practical Algorithm To Retrieve Information Coded in Alphanumeric. J. ACM 15(4), 514–534 (1968)

    Article  MathSciNet  Google Scholar 

  17. Nilsson, S., Karlsson, G.: Fast IP look-up for Internet routers. In: Proc. IFIP 4th International Conference on Broadband Communication, pp. 11–22 (1998)

    Google Scholar 

  18. Nilsson, S., Karlsson, G.: IP-address look-up using LC-tries. IEEE J. Selected Areas in Communication 17(6), 1083–1092 (1999)

    Article  Google Scholar 

  19. Nilsson, S., Tikkanen, M.: Implementing a Dynamic Compressed Trie. In: Proc. 2nd Workshop on Algorithm Engineering, Saarbruecken, Germany, pp. 25–36 (1998)

    Google Scholar 

  20. Nilsson, S., Tikkanen, M.: An experimental study of compression methods for dynamic tries. Algorithmica 33(1), 19–33 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  21. Pittel, B.: Asymptotic Growth of a Class of Random Trees. Annals of Probability 18, 414–427 (1985)

    Article  MathSciNet  Google Scholar 

  22. Reznik, Y.A.: Some Results on Tries with Adaptive Branching. Theoretical Computer Science 289(2), 1009–1026 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  23. Reznik, Y.A.: On Time/Space Efficiency of Tries with Adaptive Multi-Digit Branching. Cybernetics and Systems Analysis 39(1), 32–46 (2003)

    Article  MathSciNet  Google Scholar 

  24. Reznik, Y.A.: On the Average Depth of Asymmetric LC-tries, Information Processing Letters – submitted

    Google Scholar 

  25. Reznik, Y.A.: On the Average Density and Selectivity of Nodes in Multi-Digit Tries. In: Proc. 7th Workshop on Algorithm Engineering and Experiments and 2nd Workshop on Analytic Algorithmics and Combinatorics (ALENEX/ANALCO 2005). SIAM, Philadelphia (2005)

    Google Scholar 

  26. Sussenguth Jr., E.H.: Use of Tree Structures for Processing Files. Comm. ACM 6(5), 272–279 (1963)

    Article  Google Scholar 

  27. Szpankowski, W.: Some results on V-ary asymmetric tries. J. Algorithms 9, 224–244 (1988)

    Article  MATH  MathSciNet  Google Scholar 

  28. Szpankowski, W.: Average Case Analysis of Algorithms on Sequences. John Wiley & Sons, New York (2001)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Reznik, Y.A. (2005). Analysis of a Class of Tries with Adaptive Multi-digit Branching. In: Dehne, F., López-Ortiz, A., Sack, JR. (eds) Algorithms and Data Structures. WADS 2005. Lecture Notes in Computer Science, vol 3608. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11534273_7

Download citation

  • DOI: https://doi.org/10.1007/11534273_7

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-28101-6

  • Online ISBN: 978-3-540-31711-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics