Fast Approximate Counting and Leader Election in Populations

Abstract

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 O(m(n) · 2 n) parallel time, where m is a parameter, using O(\m, n\) states. By adjusting the parameter m between a constant and n, we obtain a single leader election protocol whose time and space can be smoothly traded off between O(2 n) to O( n) time and O( n) to O(n) states. Finally, we give a protocol which provides an upper bound n of the size n of the population, where n is at most na for some a>1. This protocol assumes the existence of a unique leader in the population and stabilizes in (n) parallel time, using constant number of states in every node, except the unique leader which is required to use (2n) states.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…