Academia.eduAcademia.edu

Analysis of leader election algorithms

Abstract

We start with a set of n players. With some probability $P(n, k)$, we kill $n−k$ players; the other ones stay alive, and we repeat with them. What is the distribution of the number $X_n$ of phases (or rounds) before getting only one player? We present a probabilistic analysis of this algorithm under some conditions on the probability distributions $P(n, k)$, including stochastic monotonicity and the assumption that roughly a fixed proportion $\alpha$ of the players survive in each round. We prove a kind of convergence in distribution for $\lceilX_n−\log_{1/\alpha}(n)\rceil$; as in many other similar problems there are oscillations and no true limit distribution, but suitable subsequences converge, and there is an absolutely continuous random variable $Z$ such that $d(Xn, \lceilZ+\log_{1/\alpha}(n)\rceil) \to 0$, where d is either the total variation distance or the Wasserstein distance. Applications of the general result include the leader election algorithm where players are elimin...