Ariadne and Theseus: Exploration and Rendezvous with Two Mobile Agents in an Unknown Graph (2403.07748v2)
Abstract: We investigate two fundamental problems in mobile computing: exploration and rendezvous, with two distinct mobile agents in an unknown graph. The agents may communicate by reading and writing information on whiteboards that are located at all nodes. They both move along one adjacent edge at every time-step. In the exploration problem, the agents start from the same arbitrary node and must traverse all the edges. We present an algorithm achieving collective exploration in $m$ time-steps, where $m$ is the number of edges of the graph. This improves over the guarantee of depth-first search, which requires $2m$ time-steps. In the rendezvous problem, the agents start from different nodes of the graph and must meet as fast as possible. We present an algorithm guaranteeing rendezvous in at most $\frac{3}{2}m$ time-steps. This improves over the so-called `wait for Mommy' algorithm which is based on depth-first search and which also requires $2m$ time-steps. Importantly, all our guarantees are derived from a more general asynchronous setting in which the speeds of the agents are controlled by an adversary at all times. Our guarantees generalize to weighted graphs, when replacing the number of edges $m$ with the sum of all edge lengths. We show that our guarantees are met with matching lower-bounds in the asynchronous setting.
- Daniel Klein. Mighty mouse, 2018. URL https://www.technologyreview.com/.
- Édouard Lucas. Récréations mathématiques, volume 3. Gauthier-Villars, 1883.
- The online graph exploration problem on restricted graphs. IEICE transactions on information and systems, 92(9):1620–1627, 2009.
- Collective tree exploration. Networks, 48(3):166–177, 2006. doi: 10.1002/net.20127. URL https://doi.org/10.1002/net.20127.
- Improved analysis of a multirobot graph exploration strategy. In 13th International Conference on Control Automation Robotics & Vision, ICARCV 2014, Singapore, December 10-12, 2014, pages 1906–1910. IEEE, 2014. doi: 10.1109/ICARCV.2014.7064607. URL https://doi.org/10.1109/ICARCV.2014.7064607.
- Andrzej Pelc. Deterministic rendezvous algorithms. In Distributed Computing by Mobile Entities: Current Research in Moving and Computing, pages 423–454. Springer, 2019.
- Gaston Tarry. Le probleme des labyrinthes. Nouvelles annales de mathématiques: journal des candidats aux écoles polytechnique et normale, 14:187–190, 1895.
- Shimon Even. Graph algorithms. Cambridge University Press, 2011.
- Backtrack programming. Journal of the ACM (JACM), 12(4):516–524, 1965.
- Robert Tarjan. Depth-first search and linear graph algorithms. SIAM journal on computing, 1(2):146–160, 1972.
- A random nc algorithm for depth first search. In Proceedings of the nineteenth annual ACM symposium on Theory of computing, pages 325–334, 1987.
- Shantanu Das. Graph explorations with mobile agents. Distributed Computing by Mobile Entities: Current Research in Moving and Computing, pages 403–422, 2019.
- A distributed ant algorithm for\\\backslash\protect efficiently patrolling a network. Algorithmica, 37:165–186, 2003.
- Time and space optimality of rotor-router graph exploration. Information Processing Letters, 127:17–20, 2017.
- Omer Reingold. Undirected connectivity in log-space. Journal of the ACM (JACM), 55(4):1–24, 2008.
- Constructing competitive tours from local information. Theoretical Computer Science, 130(1):125–138, 1994.
- Online graph exploration: New results on old and new algorithms. Theoretical Computer Science, 463:62–72, 2012.
- An improved lower bound for competitive graph exploration. Theoretical Computer Science, 868:65–86, 2021.
- Multi-agent online graph exploration on cycles and tadpole graphs. arXiv preprint arXiv:2402.13845, 2024.
- Multirobot tree and graph exploration. IEEE Trans. Robotics, 27(4):707–717, 2011. doi: 10.1109/TRO.2011.2121170. URL https://doi.org/10.1109/TRO.2011.2121170.
- Collective tree exploration via potential function method. In 15th Innovations in Theoretical Computer Science Conference (ITCS 2024). Schloss-Dagstuhl-Leibniz Zentrum für Informatik, 2024.
- A recursive approach to multi-robot exploration of trees. In International Colloquium on Structural Information and Communication Complexity, pages 343–354. Springer, 2014.
- Romain Cosson. Breaking the k/log k barrier in collective tree exploration via tree-mining. In Proceedings of the 2024 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 4264–4282. SIAM, 2024.
- Online multi-robot exploration of grid graphs with rectangular obstacles. In Guy E. Blelloch and Maurice Herlihy, editors, 24th ACM Symposium on Parallelism in Algorithms and Architectures, SPAA ’12, Pittsburgh, PA, USA, June 25-27, 2012, pages 27–36. ACM, 2012. doi: 10.1145/2312005.2312010. URL https://doi.org/10.1145/2312005.2312010.
- Efficient collaborative tree exploration with breadth-first depth-next. In 37th International Symposium on Distributed Computing (DISC 2023). Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2023.
- Online graph exploration algorithms for cycles and trees by multiple searchers. J. Comb. Optim., 28(2):480–495, 2014. doi: 10.1007/s10878-012-9571-y. URL https://doi.org/10.1007/s10878-012-9571-y.
- 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 15, pages 421–434. Springer, 2011.
- Mobile agent rendezvous in a ring. In 23rd International Conference on Distributed Computing Systems, 2003. Proceedings., pages 592–599. IEEE, 2003.
- Asynchronous deterministic rendezvous in graphs. Theoretical Computer Science, 355(3):315–326, 2006.
- How to meet asynchronously (almost) everywhere. ACM Transactions on Algorithms (TALG), 8(4):1–14, 2012.
- How to meet asynchronously at polynomial cost. In Proceedings of the 2013 ACM symposium on Principles of distributed computing, pages 92–99, 2013.
- Exploring unknown undirected graphs. Journal of Algorithms, 33(2):281–295, 1999.