Skip to main content

Do we really need to balance patricia tries?

  • Conference paper
  • First Online:
Automata, Languages and Programming (ICALP 1988)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 317))

Included in the following conference series:

Abstract

In this paper, we give exact and asymptotic approximations for the variance of the external path length in a symmetric Patricia trie. The problem was open up to now. We prove that for the binary Patricia trie, the variance is asymptotically equal to 0.37 ... n+n P (log2 n) where n is the number of stored records and P(x) is a periodic function with a very small amplitude. This result is next used to show that from the practical (average) viewpoint, the Patricia trie does not need to be restructured in order to keep it balanced. In general, we ask to what extent simpler and more direct algorithms (for digital search tries) can be expected in practice to match the performance of more complicated, worst-case asymptotically better ones.

(Extended Abstract)

The research was supported in part by the National Science Foundation under grant NCR-8702115.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Aho, A., Hopcroft, J. and Ullman, J., Data Structures and Algorithms, Addison-Wesley (1983).

    Google Scholar 

  2. Fagin, R., Nievergelt, J., Pippenger, N. and Strong, H., Extendible hashing: A fast access method for dynamic files, ACM TODS, 4, pp. 315–344 (1979)

    Google Scholar 

  3. Flajolet, Ph. and Sedgewick, R., Digital search trees revisited, SIAM J. Comput., 15, pp. 748–767 (1986).

    Google Scholar 

  4. Gonnet, G., Handbook of algorithms and data structures, Addison-Wesley (1986).

    Google Scholar 

  5. Henrici, P., Applied and computational complex analysis, John Wiley & Sons, New York (1977).

    Google Scholar 

  6. Kirschenhofer, P. and Prodinger, H., Some further results on digital search trees in: Automata, Languages and Machines (ICALP'86) (L. Kott ed.), pp. 177–185, Springer Lecture Notes in Computer Science 226 (1986).

    Google Scholar 

  7. Kirschenhofer, P. and Prodinger, H., On some applications of formulae of Ramanujan in the analysis of algorithms, preprint.

    Google Scholar 

  8. Kirschenhofer, P., Prodinger, H. and Szpankowski, W., On the variance of the external path length in a symmetric digital trie, Combinatorics and Complexity Conference, Abstracts, pp. 53–54, Chicago (1987) (also submitted to a journal).

    Google Scholar 

  9. Knuth, D., The art of computer programming. Sorting and searching. Addison-Wesley (1973).

    Google Scholar 

  10. Mathys, P. and Flajolet, P., Q-ary collision resolution algorithms in random-access system with free and blocked channel access, IEEE Trans. Information Theory, vol. IT-31, 2, pp. 217–243 (1985).

    Google Scholar 

  11. Szpankowski, W., Some results on V-ary asymmetric tries, Journal of Algorithms, 9 (1988).

    Google Scholar 

  12. Szpankowski, W., The evaluation of an alternative sum with applications to the analysis of some data structures, Information Processing Letters, (1988).

    Google Scholar 

  13. Szpankowski, W., Patricia tries again revisited, Purdue University, CSD-TR 625 (1986) (also submitted to a journal).

    Google Scholar 

  14. Paige, R. and Tarjan, R., Three efficient algorithms based on partition refinement, (preprint) (1986).

    Google Scholar 

  15. Riordan, J., Combinatorial Identities, John Wiley & Sons (1968).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Timo Lepistö Arto Salomaa

Rights and permissions

Reprints and permissions

Copyright information

© 1988 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Kirschenhofer, P., Prodinger, H., Szpankowski, W. (1988). Do we really need to balance patricia tries?. In: Lepistö, T., Salomaa, A. (eds) Automata, Languages and Programming. ICALP 1988. Lecture Notes in Computer Science, vol 317. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-19488-6_124

Download citation

  • DOI: https://doi.org/10.1007/3-540-19488-6_124

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-19488-0

  • Online ISBN: 978-3-540-39291-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics