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.
Preview
Unable to display preview. Download preview PDF.
References
Aho, A., Hopcroft, J. and Ullman, J., Data Structures and Algorithms, Addison-Wesley (1983).
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)
Flajolet, Ph. and Sedgewick, R., Digital search trees revisited, SIAM J. Comput., 15, pp. 748–767 (1986).
Gonnet, G., Handbook of algorithms and data structures, Addison-Wesley (1986).
Henrici, P., Applied and computational complex analysis, John Wiley & Sons, New York (1977).
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).
Kirschenhofer, P. and Prodinger, H., On some applications of formulae of Ramanujan in the analysis of algorithms, preprint.
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).
Knuth, D., The art of computer programming. Sorting and searching. Addison-Wesley (1973).
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).
Szpankowski, W., Some results on V-ary asymmetric tries, Journal of Algorithms, 9 (1988).
Szpankowski, W., The evaluation of an alternative sum with applications to the analysis of some data structures, Information Processing Letters, (1988).
Szpankowski, W., Patricia tries again revisited, Purdue University, CSD-TR 625 (1986) (also submitted to a journal).
Paige, R. and Tarjan, R., Three efficient algorithms based on partition refinement, (preprint) (1986).
Riordan, J., Combinatorial Identities, John Wiley & Sons (1968).
Author information
Authors and Affiliations
Editor information
Rights 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