Anonymous Meeting in Networks
2016, HAL (Le Centre pour la Communication Scientifique Directe)
Abstract
A team consisting of an unknown number of mobile agents, starting from different nodes of an unknown network, possibly at different times, have to meet at the same node. Agents are anonymous (identical), execute the same deterministic algorithm and move in synchronous rounds along links of the network. An initial configuration of agents is called gatherable if there exists a deterministic algorithm (even dedicated to this particular configuration) that achieves meeting of all agents in one node. Which configurations are gatherable and how to gather all of them deterministically by the same algorithm? We give a complete solution of this gathering problem in arbitrary networks. We characterize all gatherable configurations and give two universal deterministic gathering algorithms, i.e., algorithms that gather all gatherable configurations. The first algorithm works under the assumption that a common upper bound N on the size of the network is known to all agents. In this case our algorithm guarantees gathering with detection, i.e., the existence of a round for any gatherable configuration, such that all agents are at the same node and all declare that gathering is accomplished. If no upper bound on the size of the network is known, we show that a universal algorithm for gathering with detection does not exist. Hence, for this harder scenario, we construct a second universal gathering algorithm, which guarantees that, for any gatherable configuration, all agents eventually get to one node and stop, although they cannot tell if gathering is over. The time of the first algorithm is polynomial in the upper bound N on the size of the network, and the time of the second algorithm is polynomial in the (unknown) size itself. Our results have an important consequence for the leader election problem for anonymous agents in arbitrary graphs. Leader election is a fundamental symmetry breaking problem in distributed computing. Its goal is to assign, in some common round, value 1 (leader) to one of the entities and value 0 (nonleader) to all others. For anonymous agents in graphs, leader election turns out to be equivalent to gathering with detection. Hence, as a by-product, we obtain a complete solution of the leader election problem for anonymous agents in arbitrary graphs.
References (51)
- Noa Agmon and David Peleg. Fault-tolerant gathering algorithms for autonomous mobile robots. SIAM Journal on Computing, 36(1):56-82, 2006.
- Steve Alpern. The rendezvous search problem. SIAM Journal on Control and Optimization, 33(3):673- 683, 1995.
- Steve Alpern. Rendezvous search on labelled networks. Naval Research Logistics, 49:256-274, 2002.
- Steve Alpern and Shmuel Gal. Theory of Search Games and Rendezvous. Kluwer Academic Publisher, 2003.
- Eddie Anderson and Richard Weber. The rendezvous problem on discrete locations. Journal of Applied Probability, 28(4):839-851, 1990.
- Edward Anderson and Sándor Fekete. Asymmetric rendezvous on the plane. In 14th Annual Sym- posium on Computational Geometry, June 7-10, 1998, Minneapolis, Minnesota, USA. Proceedings, pages 365-373, 1998.
- Edward Anderson and Sándor Fekete. Two dimensional rendezvous search. Operations Research, 49(1):107-118, 2001.
- Dana Angluin. Local and global properties in networks of processors (extended abstract). In 12th Annual ACM Symposium on Theory of Computing, April 28-30, 1980, Los Angeles, California, USA. Proceedings, pages 82-93, 1980.
- Hagit Attiya and Marc Snir. Better computing on the anonymous ring. Journal of Algorithms, 12(2):204-238, 1991.
- Evangelos Bampas, Jurek Czyzowicz, Leszek Gasieniec, David Ilcinkas, and Arnaud Labourel. Al- most optimal asynchronous rendezvous in infinite multidimensional grids. In Distributed Computing, 24th International Symposium, DISC 2010, Cambridge, MA, USA, September 13-15, 2010. Proceed- ings, pages 297-311, 2010.
- Vic Baston and Shmuel Gal. Rendezvous search when marks are left at the starting points. Naval Research Logistics, 48(8):722-731, 2001.
- Paolo Boldi and Sebastiano Vigna. Computing anonymously with arbitrary knowledge. In Proceedings of the Eighteenth Annual ACM Symposium on Principles of Distributed Computing, PODC, '99At- lanta, Georgia, USA, May 3-6, 1999, pages 181-188, 1999.
- Jérémie Chalopin, Shantanu Das, and Adrian Kosowski. Constructing a map of an anonymous graph: Applications of universal sequences. In Principles of Distributed Systems -14th International Confer- ence, OPODIS 2010, Tozeur, Tunisia, December 14-17, 2010. Proceedings, pages 119-134, 2010.
- Mark Cieliebak, Paola Flocchini, Giuseppe Prencipe, and Nicola Santoro. Distributed computing by mobile robots: Gathering. SIAM Journal on Computing, 41(4):829-879, 2012.
- Reuven Cohen and David Peleg. Convergence properties of the gravitational algorithm in asyn- chronous robot systems. SIAM Journal on Computing, 34(6):1516-1528, 2005.
- Reuven Cohen and David Peleg. Convergence of autonomous mobile robots with inaccurate sensors and movements. SIAM Journal on Computing, 38(1):276-302, 2008.
- Jurek Czyzowicz, Adrian Kosowski, and Andrzej Pelc. How to meet when you forget: log-space rendezvous in arbitrary graphs. Distributed Computing, 25(2):165-178, 2012.
- Jurek Czyzowicz, Andrzej Pelc, and Arnaud Labourel. How to meet asynchronously (almost) every- where. ACM Transactions on Algorithms, 8(4):37, 2012.
- Gianlorenzo D'Angelo, Gabriele Di Stefano, and Alfredo Navarra. Gathering on rings under the look- compute-move model. Distributed Computing, 27(4):255-285, 2014.
- Gianluca De Marco, Luisa Gargano, Evangelos Kranakis, Danny Krizanc, Andrzej Pelc, and Ugo Vac- caro. Asynchronous deterministic rendezvous in graphs. Theoretical Computer Science, 355(3):315- 326, 2006.
- Anders Dessmark, Pierre Fraigniaud, Dariusz R. Kowalski, and Andrzej Pelc. Deterministic ren- dezvous in graphs. Algorithmica, 46(1):69-96, 2006.
- Yoann Dieudonné and Andrzej Pelc. Deterministic network exploration by anonymous silent agents with local traffic reports. In Automata, Languages, and Programming -39th International Colloquium, ICALP 2012, Warwick, UK, July 9-13, 2012, Proceedings, Part II, pages 500-512, 2012.
- Yoann Dieudonné, Andrzej Pelc, and David Peleg. Gathering despite mischief. ACM Transactions on Algorithms, 11(1):1, 2014.
- Yoann Dieudonné, Andrzej Pelc, and Vincent Villain. How to meet asynchronously at polynomial cost. In ACM Symposium on Principles of Distributed Computing, PODC 2013, Montreal, QC, Canada, July 22-24, 2013, pages 92-99, 2013.
- Paola Flocchini, David Ilcinkas, Andrzej Pelc, and Nicola Santoro. Remembering without memory: Tree exploration by asynchronous oblivious robots. Theoretical Computer Sci.ence, 411(14-15):1583- 1598, 2010.
- Paola Flocchini, Giuseppe Prencipe, Nicola Santoro, and Peter Widmayer. Gathering of asynchronous robots with limited visibility. Theoretical Computer Science, 337(1-3):147-168, 2005.
- Pierre Fraigniaud, Leszek Gasieniec, Dariusz R. Kowalski, and Andrzej Pelc. Collective tree explo- ration. Networks, 48(3):166-177, 2006.
- Pierre Fraigniaud and Andrzej Pelc. Deterministic rendezvous in trees with little memory. In Dis- tributed Computing, 22nd International Symposium, DISC 2008, Arcachon, France, September 22-24, 2008. Proceedings, pages 242-256, 2008.
- Pierre Fraigniaud and Andrzej Pelc. Delays induce an exponential memory gap for rendezvous in trees. ACM Transactions on Algorithms, 9(2):17, 2013.
- Greg N. Frederickson and Nancy A. Lynch. Electing a leader in a synchronous ring. Journal of the ACM, 34(1):98-115, 1987.
- Emanuele G. Fusco and Andrzej Pelc. How much memory is needed for leader election. Distributed Computing, 24(2):65-78, 2011.
- Shmuel Gal. Rendezvous search on the line. Operations Research, 47(6):974-976, 1999.
- Samuel Guilbault and Andrzej Pelc. Asynchronous rendezvous of anonymous agents in arbitrary graphs. In Principles of Distributed Systems -15th International Conference, OPODIS 2011, Toulouse, France, December 13-16, 2011. Proceedings, pages 421-434, 2011.
- Med Amine Haddar, Ahmed Hadj Kacem, Yves Métivier, Mohamed Mosbah, and Mohamed Jmaiel. Electing a leader in the local computation model using mobile agents. In 6th ACS/IEEE International Conference on Computer Systems and Applications, AICCSA 2008, Doha, Qatar, March 31 -April 4, 2008, Proceedings, pages 473-480, 2008.
- Daniel S. Hirschberg and J. B. Sinclair. Decentralized extrema-finding in circular configurations of processors. Communications of the ACM, 23(11):627-628, 1980.
- Amos Israeli and Marc Jalfon. Token management schemes and random walks yield self-stabilizing mutual exclusion. In 9th Annual ACM Symposium on Principles of Distributed Computing, Quebec City, Quebec, Canada, August 22-24, 1990, Proceedings, pages 119-131, 1990.
- Ralf Klasing, Adrian Kosowski, and Alfredo Navarra. Taking advantage of symmetries: Gathering of many asynchronous oblivious robots on a ring. Theoretical Computer Science, 411(34-36):3235-3246, 2010.
- Ralf Klasing, Euripides Markou, and Andrzej Pelc. Gathering asynchronous oblivious mobile robots in a ring. Theoretical Computer Science, 390(1):27-39, 2008.
- Dariusz R. Kowalski and Adam Malinowski. How to meet in anonymous network. Theoretical Com- puter Science, 399(1-2):141-156, 2008.
- Evangelos Kranakis, Danny Krizanc, and Pat Morin. Randomized rendezvous with limited memory. ACM Transactions on Algorithms, 7(3):34, 2011.
- Evangelos Kranakis, Nicola Santoro, Cindy Sawchuk, and Danny Krizanc. Mobile agent rendezvous in a ring. In 23rd International Conference on Distributed Computing Systems (ICDCS 2003), 19-22 May 2003, Providence, RI, USA. Proceedings, pages 592-599, 2003.
- Gérard Le Lann. Distributed systems -towards a formal approach. In IFIP Congress 77, Toronto, Canada, August 8-12, 1977. North-Holland, Proceedings, pages 155-160, 1977.
- Wei Shi Lim and Steve Alpern. Minimax rendezvous on the line. SIAM Journal on Control and Optimization, 34(5):1650-1665, 1996.
- Nancy Ann Lynch. Distributed Algorithms. Morgan Kaufmann, 1996.
- Andrzej Pelc. Deterministic rendezvous in networks: A comprehensive survey. Networks, 59(3):331- 347, 2012.
- Gary L. Peterson. An O(n log n) unidirectional algorithm for the circular extrema problem. ACM Transactions on Programming Languages and Systems, 4(4):758-762, 1982.
- Omer Reingold. Undirected connectivity in log-space. Journal of the ACM, 55(4), 2008.
- Amnon Ta-Shma and Uri Zwick. Deterministic rendezvous, treasure hunts, and strongly universal exploration sequences. ACM Transactions on Algorithms, 10(3):12, 2014.
- Masafumi Yamashita and Tiko Kameda. Electing a leader when processor identity numbers are not distinct (extended abstract). In Distributed Algorithms, 3rd International Workshop, Nice, France, September 26-28, 1989, Proceedings, pages 303-314, 1989.
- Masafumi Yamashita and Tsunehiko Kameda. Computing on anonymous networks: Part i- characterizing the solvable cases. IEEE Transactions on Parallel and Distributed Systems, 7(1):69-89, 1996.
- Xiangdong Yu and Moti Yung. Agent rendezvous: A dynamic symmetry-breaking problem. In Au- tomata, Languages, and Programming -23rd International Colloquium, ICALP 1996, Paderborn, Germany, July 8-12, 1996, Proceedings, pages 610-621, 1996.