Abstract
In this paper, we study the fundamental problem of counting, which consists in computing the size of a system. We consider the distributed communication model of population protocols of finite state, anonymous and asynchronous mobile devices (agents) communicating in pairs (according to a fairness condition). This work significantly improves the previous results known for counting in this model, in terms of (exact) space complexity. We present and prove correct the first space-optimal protocols solving the problem for two classical types of fairness, global and weak. Both protocols require no initialization of the counted agents.
The protocol designed for global fairness, surprisingly, uses only one bit of memory (two states) per counted agent. The protocol, functioning under weak fairness, requires the necessary \(\log P\) bits (P states, per counted agent) to be able to count up to P agents. Interestingly, this protocol exploits the intriguing Gros sequence of natural numbers, which is also used in the solutions to the Chinese Rings and the Hanoi Towers puzzles.
The extended version of this paper can be consulted in [8].
J. Beauquier—The work of this author was partially supported by the Israeli-French Maimonide research project.
J. Burman—The work of this author was partially supported by the Israeli-French Maimonide and the INS2I PEPS JCJC research projects.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Afek, Y., Awerbuch, B., Plotkin, S.A., Saks, M.E.: Local management of a global resource in a communication network. In: Symposium on Foundations of Computer Science, pp. 347–357 (1987)
Allouche, J.-P., Shallit, J.O.: Automatic Sequences - Theory, Applications, Generalizations. Cambridge Univ. Press (2003). ISBN 978-0-521-82332-6
Angluin, D., Aspnes, J., Diamadi, Z., Fischer, M.J., Peralta, R.: Computation in networks of passively mobile finite-state sensors. Dist. Comp. 18(4), 235–253 (2006)
Angluin, D., Aspnes, J., Eisenstat, D., Ruppert, E.: The computational power of population protocols. Dist. Comp. 20(4), 279–304 (2007)
Angluin, D., Aspnes, J., Fischer, M.J., Jiang, H.: Self-stabilizing population protocols. ACM Trans. Auton. Adapt. Syst. 3(4) (2008)
Baquero, C., Almeida, P.S., Menezes, R., Jesus, P.: Extrema propagation: Fast distributed estimation of sums and network sizes. IEEE Trans. Parallel Distrib. Syst. 23(4), 668–675 (2012)
Beauquier, J., Burman, J., Clavière, S.: Comptage et nommage simples et efficaces dans les protocoles de populations symétriques. In: ALGOTEL 2014, pp. 1–4 , June 2014
Beauquier, J., Burman, J., Clavière, S., Sohier, D.: Space-Optimal Counting in Population Protocols [Extended Version]. Technical report, LRI - CNRS, University Paris-Sud, June 2015
Beauquier, J., Clement, J., Messika, S., Rosaz, L., Rozoy, B.: Self-stabilizing counting in mobile sensor networks with a base station. In: Pelc, A. (ed.) DISC 2007. LNCS, vol. 4731, pp. 63–76. Springer, Heidelberg (2007)
Bournez, O., Chalopin, J., Cohen, J., Koegler, X.: Playing with population protocols. In: CSP, pp. 3–15 (2008)
Dolev, S., Gouda, M.G., Schneider, M.: Memory requirements for silent stabilization. Acta Inf. 36(6), 447–462 (1999)
Dolev, S., Israeli, A., Moran, S.: Self-stabilization of dynamic systems assuming only read/write atomicity. Dist. Comp. 7(1), 3–16 (1993)
Emek, Y., Korman, A.: New bounds for the controller problem. In: DISC, pp. 22–34 (2009)
Fraigniaud, P., Pelc, A., Peleg, D., Perennes, S.: Assigning labels in an unknown anonymous network with a leader. Dist. Comp. 14(3), 163–183 (2001)
Ganesh, A.J., Kermarrec, A.-M., Le Merrer, E., Massoulié, L.: Peer counting and sampling in overlay networks based on random walks. Dist. Comp. 20(4), 267–278 (2007)
Gkantsidis, C., Mihail, M., Saberi, A.: Random walks in peer-to-peer networks: Algorithms and evaluation. Perform. Eval. 63(3), 241–263 (2006)
Hinz, A.M., Klavzar, S., Milutinovic, U., Petr, C.: The Tower of Hanoi - Myths and Maths. Birkhäuser Basel (2013). ISBN 3034802366, 9783034802369
Izumi, T., Kinpara, K., Izumi, T., Wada, K.: Space-efficient self-stabilizing counting population protocols on mobile sensor networks. Theor. Comput. Sci. 552, 99–108 (2014)
Jiang, H.: Distributed Systems of Simple Interacting Agents. Ph.D thesis, Yale University (2007)
Kempe, D., Dobra, A., Gehrke, J.: Gossip-based computation of aggregate information. In: FOCS, pp. 482–491 (2003)
Korman, A., Kutten, S.: Controller and estimator for dynamic networks. Inf. Comput. 223, 43–66 (2013)
Kostoulas, D., Psaltoulis, D., Gupta, I., Birman, K.P., Demers, A.J.: Active and passive techniques for group size estimation in large-scale and dynamic distributed systems. Journal of Systems and Software 80(10), 1639–1658 (2007)
Kuhn, F., Lynch, N.A., Oshman, R.: Distributed computation in dynamic networks. In: STOC, pp. 513–522 (2010)
Di Luna, G.A., Baldoni, R., Bonomi, S., Chatzigiannakis, I.: Conscious and unconscious counting on anonymous dynamic networks. In: Chatterjee, M., Cao, J., Kothapalli, K., Rajsbaum, S. (eds.) ICDCN 2014. LNCS, vol. 8314, pp. 257–271. Springer, Heidelberg (2014)
Di Luna, G., Baldoni, R., Bonomi, S., Chatzigiannakis, I.: Counting in anonymous dynamic networks under worst-case adversary. In: ICDCS, pp. 338–347 (2014)
Le Merrer, E., Kermarrec, A.-M., Massoulié, L.: Peer to peer size estimation in large and dynamic networks: a comparative study. In: HPDC, pp. 7–17 (2006)
Michail, O., Chatzigiannakis, I., Spirakis, P.G.: Naming and counting in anonymous unknown dynamic networks. In: Higashino, T., Katayama, Y., Masuzawa, T., Potop-Butucaru, M., Yamashita, M. (eds.) SSS 2013. LNCS, vol. 8255, pp. 281–295. Springer, Heidelberg (2013)
Mosk-Aoyama, D., Shah, D.: Computing separable functions via gossip. In: PODC, pp. 113–122 (2006)
Ribeiro, B.F., Towsley, D.F.: Estimating and sampling graphs with multidimensional random walks. In: ACM SIGCOMM, pp. 390–403 (2010)
Tel, G.: Introduction to Distributed Algorithms, 2nd edn. Cambridge University Press (2000)
Varagnolo, D., Pillonetto, G., Schenato, L.: Distributed statistical estimation of the number of nodes in sensor networks. In: IEEE Conference on Decision and Control, CDC, pp. 1498–1503 (2010)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Beauquier, J., Burman, J., Clavière, S., Sohier, D. (2015). Space-Optimal Counting in Population Protocols. In: Moses, Y. (eds) Distributed Computing. DISC 2015. Lecture Notes in Computer Science(), vol 9363. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-48653-5_42
Download citation
DOI: https://doi.org/10.1007/978-3-662-48653-5_42
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-662-48652-8
Online ISBN: 978-3-662-48653-5
eBook Packages: Computer ScienceComputer Science (R0)