On the distribution for the duration of a randomized leader election algorithm

We investigate the duration of an elimination process for identifying a loser by coin tossing, or, equivalently, the height of a random incomplete trie. Applications of the prOcess include the election of a leader in a computer network. Using direct probabilistic arguments we obtain exact expressions for the discrete distribution and the moments of the height. Elementary approximation techniques then yield asymptotics for the distribution. We show that no limiting distribution exists, as the asymptotic expressions exhibit periodic fluctuations. In many similar problems associated with digital trees, no such exact expressions can be derived. We therefore outline a powerful general approach, based on the analytic techniques of Mellin transforms, Poissonlzation, and de-Poissonlzation, from wh.ich distributional asymptotics for the height can also be derived. In fact, it was this complex variables approach that led to our original discovery of the exact distribution. Complex ;:malysis methods are indispensable for deriving asymptotic expressions for the mean and variance, which also contain periodic terms of small magnitude.

[1]  Gilles Brassard,et al.  Algorithmics - theory and practice , 1988 .

[2]  Philippe Jacquet,et al.  Ultimate Characterizations of the Burst Response of an Interval Searching Algorithm: A Study of a Functional Equation , 1989, SIAM J. Comput..

[3]  Haim Mendelson,et al.  Analysis of Extendible Hashing , 1982, IEEE Transactions on Software Engineering.

[4]  B. Pittel Asymptotical Growth of a Class of Random Trees , 1985 .

[5]  Patricio V. Poblete,et al.  Approximating Functions by Their Poisson Transform , 1986, Inf. Process. Lett..

[6]  Helmut Prodinger,et al.  How to select a loser , 1993, Discret. Math..

[7]  Philippe Jacquet,et al.  Limiting Distribution for the Depth in Patricia Tries , 1993, SIAM J. Discret. Math..

[8]  Philippe Jacquet,et al.  Asymptotic Behavior of the Lempel-Ziv Parsing Scheme and Digital Search Trees , 1995, Theor. Comput. Sci..

[9]  Boris G. Pittel,et al.  How many random questions are necessary to identify n distinct objects? , 1990, J. Comb. Theory, Ser. A.

[10]  J. IAN MUNRO,et al.  The Analysis of Linear Probing Sort by the Use of a New Mathematical Transform , 1984, J. Algorithms.

[11]  C. Anderson Extreme value theory for a class of discrete distributions with applications to some stochastic processes , 1970 .

[12]  Donald Ervin Knuth,et al.  The Art of Computer Programming , 1968 .

[13]  Mireille Régnier,et al.  Trie Partitioning Process: Limiting Distributions , 1986, CAAP.

[14]  M. Kac On Deviations between Theoretical and Empirical Distributions. , 1949, Proceedings of the National Academy of Sciences of the United States of America.

[15]  Philippe Flajolet,et al.  Probabilistic Counting Algorithms for Data Base Applications , 1985, J. Comput. Syst. Sci..

[16]  L. Devroye Non-Uniform Random Variate Generation , 1986 .

[17]  Lauwerens Kuipers,et al.  Uniform distribution of sequences , 1974 .

[18]  Philippe Flajolet,et al.  Mellin Transforms and Asymptotics: Harmonic Sums , 1995, Theor. Comput. Sci..

[19]  L. Holst On Birthday, Collectors', Occupancy and Other Classical Urn Problems , 1986 .

[20]  Simon Tavare,et al.  Independent Process Approximations for Random Combinatorial Structures , 1994, 1308.3279.

[21]  Hosam M. Mahmoud,et al.  Evolution of random search trees , 1991, Wiley-Interscience series in discrete mathematics and optimization.

[22]  B. Pittel Paths in a random digital tree: limiting distributions , 1986, Advances in Applied Probability.

[23]  Philippe Flajolet,et al.  Mellin Transforms and Asymptotics: Finite Differences and Rice's Integrals , 1995, Theor. Comput. Sci..

[24]  L. Devroye A Study of Trie-Like Structures Under the Density Model , 1992 .

[25]  W. Szpankowski Solution of a linear recurrence equation arising in the analysis of some algorithms , 1987 .

[26]  J. Wrench Table errata: The art of computer programming, Vol. 2: Seminumerical algorithms (Addison-Wesley, Reading, Mass., 1969) by Donald E. Knuth , 1970 .

[27]  Donald E. Knuth,et al.  The art of computer programming: sorting and searching (volume 3) , 1973 .

[28]  Peter J. Grabner Searching for Losers , 1993, Random Struct. Algorithms.

[29]  Philippe Jacquet,et al.  Analysis of digital tries with Markovian dependency , 1991, IEEE Trans. Inf. Theory.

[30]  Donald E. Knuth,et al.  Sorting and Searching , 1973 .

[31]  Mireille Régnier,et al.  New results on the size of tries , 1989, IEEE Trans. Inf. Theory.

[32]  J. D. T. Oliveira,et al.  The Asymptotic Theory of Extreme Order Statistics , 1979 .

[33]  D. Aldous Probability Approximations via the Poisson Clumping Heuristic , 1988 .