Fast Approximate Counting and Leader Election in Populations

We study the problems of leader election and population size counting for population protocols: networks of finite-state anonymous agents that interact randomly under a uniform random scheduler. We show a protocol for leader election that terminates in parallel time, where is a parameter, using states. By adjusting the parameter between a constant and , we obtain a single leader election protocol whose time and space can be smoothly traded off between to time and to states. Finally, we give a protocol which provides an upper bound of the size of the population, where is at most for some . This protocol assumes the existence of a unique leader in the population and stabilizes in parallel time, using constant number of states in every node, except the unique leader which is required to use states.
View on arXiv