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(logm(n)⋅log2n) parallel time, where m is a parameter, using O(max{m,logn}) 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(log2n) to O(logn) time and O(logn) 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 Θ(logn) parallel time, using constant number of states in every node, except the unique leader which is required to use Θ(log2n) states.
@article{arxiv.1806.02638,
title = {Fast Approximate Counting and Leader Election in Populations},
author = {Othon Michail and Paul G. Spirakis and Michail Theofilatos},
journal= {arXiv preprint arXiv:1806.02638},
year = {2018}
}
Comments
16 pages, 5 figures, to be published in SIROCCO 2018 proceedings - Brief Announcement