Analytic Pattern Matching: From DNA to Twitter by Philippe Jacquet & Wojciech Szpankowski
Author:Philippe Jacquet & Wojciech Szpankowski [Jacquet, Philippe]
Language: eng
Format: epub, pdf
Publisher: Cambridge University Press
Published: 2015-06-29T23:00:00+00:00
7.2.Moments
In this section we focus on evaluating the moments (mostly the mean and variance) of some shape parameters of tries and digital trees. We do our analysis for binary alphabets but all results can be extended easily to an arbitrary alphabet.
7.2.1.Average path length in a trie by Rice’s method
Let us consider a trie built over n strings generated by a binary memoryless source with p the probability of generating a zero and q = 1 − p. We first deal with the average depth E[Dn] and the average path length E[Ln]. Clearly, E[Ln] = nE[Dn], thus we need to evaluate only one of these parameters. It turns out that the average path length is easier to derive.
Let ln = E[Ln] in a binary trie. It should be easy to see that ln satisfies the following recurrence for n ≥ 2:
(7.5)
with l0 = l1 = 0. Indeed, n strings at the root are split into left and right subtrees according to whether the first symbol of these strings is 0 or 1. The probability that k out of n strings starts with 0 is binomially distributed, i.e., it is equal to
Download
Analytic Pattern Matching: From DNA to Twitter by Philippe Jacquet & Wojciech Szpankowski.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Biomathematics | Differential Equations |
Game Theory | Graph Theory |
Linear Programming | Probability & Statistics |
Statistics | Stochastic Modeling |
Vector Analysis |
Modelling of Convective Heat and Mass Transfer in Rotating Flows by Igor V. Shevchuk(6213)
Weapons of Math Destruction by Cathy O'Neil(5797)
Factfulness: Ten Reasons We're Wrong About the World – and Why Things Are Better Than You Think by Hans Rosling(4465)
Descartes' Error by Antonio Damasio(3146)
A Mind For Numbers: How to Excel at Math and Science (Even If You Flunked Algebra) by Barbara Oakley(3089)
Factfulness_Ten Reasons We're Wrong About the World_and Why Things Are Better Than You Think by Hans Rosling(3031)
TCP IP by Todd Lammle(2991)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2884)
Fooled by Randomness: The Hidden Role of Chance in Life and in the Markets by Nassim Nicholas Taleb(2840)
The Tyranny of Metrics by Jerry Z. Muller(2823)
The Book of Numbers by Peter Bentley(2752)
The Great Unknown by Marcus du Sautoy(2521)
Once Upon an Algorithm by Martin Erwig(2462)
Easy Algebra Step-by-Step by Sandra Luna McCune(2439)
Lady Luck by Kristen Ashley(2391)
Practical Guide To Principal Component Methods in R (Multivariate Analysis Book 2) by Alboukadel Kassambara(2365)
Police Exams Prep 2018-2019 by Kaplan Test Prep(2338)
All Things Reconsidered by Bill Thompson III(2247)
Linear Time-Invariant Systems, Behaviors and Modules by Ulrich Oberst & Martin Scheicher & Ingrid Scheicher(2217)
