Abstract

We study leader election and population size counting for population protocols: networks of finite-state anonymous agents that interact randomly. We provide simple protocols for approximate counting of the size of the population and for leader election. We show a protocol for leader election that terminates in O(log2⁡nlog⁡m) parallel time, where m is a parameter that belongs to Ω(log⁡n) and O(n), using O(max⁡{log⁡m,log⁡log⁡n}) bits. By adjusting m between log⁡n and n, we obtain a leader election protocol whose time and space can be smoothly traded off between O(log2⁡nlog⁡log⁡n) to O(log⁡n) time and O(log⁡log⁡n) to O(log⁡n) bits. We also give a protocol which provides a constant factor approximation of log⁡n of the population size n, or an upper bound ne which is at most na for some constant a>1. This protocol assumes the existence of a unique leader and stabilizes in Θ(log⁡n) parallel time.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.