A NOTE ON THE ASYMPTOTIC-BEHAVIOR OF THE DEPTH OF TRIES

Authors
Citation
C. Knessl, A NOTE ON THE ASYMPTOTIC-BEHAVIOR OF THE DEPTH OF TRIES, Algorithmica, 22(4), 1998, pp. 547-560
Citations number
15
Categorie Soggetti
Mathematics,"Computer Science Software Graphycs Programming",Mathematics,"Computer Science Software Graphycs Programming
Journal title
ISSN journal
01784617
Volume
22
Issue
4
Year of publication
1998
Pages
547 - 560
Database
ISI
SICI code
0178-4617(1998)22:4<547:ANOTAO>2.0.ZU;2-4
Abstract
We analyze the depth distribution of digital trees called tries. Assum ing that the trie is constructed from n statistically independent bina ry strings, we compute the probability that the depth is equal to k. W e study this probability asymptotically, for n and/or k large. We obta in detailed results for n --> infinity and various ranges of k. This s upplements previous work, which mostly involves computing the limiting distribution as n --> infinity. Our analysis also gives an accurate d escription of the tails of the probability distribution. If the symbol s in the string are zeros and ones, we assume they occur independently with respective probabilities q and p = 1 - q. We study the symmetric model (p = q = 1/2), the nonsymmetric model (p not equal q), and the ''nearly symmetric'' model. In the latter we have n --> infinity and s imultaneously p - q --> 0. Here we obtain a new limiting probability d istribution, that interpolates the well-known extreme value (p = q) an d normal (p not equal q) distributions.