ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 1805.04832
26
21

Exact size counting in uniform population protocols in nearly logarithmic time

13 May 2018
David Doty
Mahsa Eftekhari
O. Michail
P. Spirakis
Michail Theofilatos
    OT
ArXivPDFHTML
Abstract

We study population protocols: networks of anonymous agents that interact under a scheduler that picks pairs of agents uniformly at random. The _size counting problem_ is that of calculating the exact number nnn of agents in the population, assuming no leader (each agent starts in the same state). We give the first protocol that solves this problem in sublinear time. The protocol converges in O(log⁡nlog⁡log⁡n)O(\log n \log \log n)O(lognloglogn) time and uses O(n60)O(n^{60})O(n60) states (O(1)+60log⁡nO(1) + 60 \log nO(1)+60logn bits of memory per agent) with probability 1−O(log⁡log⁡nn)1-O(\frac{\log \log n}{n})1−O(nloglogn​). The time complexity is also O(log⁡nlog⁡log⁡n)O(\log n \log \log n)O(lognloglogn) in expectation. The time to converge is also O(log⁡nlog⁡log⁡n)O(\log n \log \log n)O(lognloglogn) in expectation. Crucially, unlike most published protocols with ω(1)\omega(1)ω(1) states, our protocol is _uniform_: it uses the same transition algorithm for any population size, so does not need an estimate of the population size to be embedded into the algorithm. A sub-protocol is the first uniform sublinear-time leader election population protocol, taking O(log⁡nlog⁡log⁡n)O(\log n \log \log n)O(lognloglogn) time and O(n18)O(n^{18})O(n18) states. The state complexity of both the counting and leader election protocols can be reduced to O(n30)O(n^{30})O(n30) and O(n9)O(n^{9})O(n9) respectively, while increasing the time to O(log⁡2n)O(\log^2 n)O(log2n).

View on arXiv
Comments on this paper