Exact size counting in uniform population protocols in nearly logarithmic time

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 n 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( n n) time and uses O(n60) states (O(1) + 60 n bits of memory per agent) with probability 1-O( nn). The time complexity is also O( n n) in expectation. The time to converge is also O( n n) in expectation. Crucially, unlike most published protocols with ω(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( n n) time and O(n18) states. The state complexity of both the counting and leader election protocols can be reduced to O(n30) and O(n9) respectively, while increasing the time to O(2 n).

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…