Exploration of High-Dimensional Grids by Finite State Machines

We consider the problem of finding a treasure at an unknown point of an $n$-dimensional infinite grid, $n\geq 3$, by initially collocated finite state agents (scouts/robots). Recently, the problem has been well characterized for 2 dimensions for deterministic as well as randomized agents, both in synchronous and semi-synchronous models. It has been conjectured that $n+1$ randomized agents are necessary to solve this problem in the $n$-dimensional grid. In this paper we disprove the conjecture in a strong sense: we show that three randomized synchronous agents suffice to explore an $n$-dimensional grid for any $n$. Our algorithm is optimal in terms of the number of the agents. Our key insight is that a constant number of finite state machine agents can, by their positions and movements, implement a stack, which can store the path being explored. We also show how to implement our algorithm using: four randomized semi-synchronous agents; four deterministic synchronous agents; or five deterministic semi-synchronous agents. We give a different algorithm that uses $4$ deterministic semi-synchronous agents for the $3$-dimensional grid. This is provably optimal, and surprisingly, matches the result for $2$ dimensions. For $n\geq 4$, the time complexity of the solutions mentioned above is exponential in distance $D$ of the treasure from the starting point of the agents. We show that in the deterministic case, one additional agent brings the time down to a polynomial. Finally, we focus on algorithms that never venture much beyond the distance $D$. We describe an algorithm that uses $O(\sqrt{n})$ semi-synchronous deterministic agents that never go beyond $2D$, as well as show that any algorithm using $3$ synchronous deterministic agents in $3$ dimensions must travel beyond $\Omega(D^{3/2})$ from the origin.

[1]  Jurek Czyzowicz,et al.  Evacuating Robots via Unknown Exit in a Disk , 2014, DISC.

[2]  Nicola Santoro,et al.  Distributed Computing by Oblivious Mobile Robots , 2012, Synthesis Lectures on Distributed Computing Theory.

[3]  Nancy A. Lynch,et al.  Trade-offs between selection complexity and performance when searching the plane without communication , 2014, PODC.

[4]  Artur Jez,et al.  On the two-dimensional cow search problem , 2009, Inf. Process. Lett..

[5]  Michael A. Bender,et al.  The power of a pebble: exploring and mapping directed graphs , 1998, STOC '98.

[6]  Hua Li,et al.  Search on lines and graphs , 2009, Proceedings of the 48h IEEE Conference on Decision and Control (CDC) held jointly with 2009 28th Chinese Control Conference.

[7]  Tobias Langner,et al.  Solving the ANTS Problem with Asynchronous Finite State Machines , 2014, ICALP.

[8]  Dario Floreano,et al.  Forceful manipulation with micro air vehicles , 2018, Science Robotics.

[9]  Marek Chrobak,et al.  Group Search on the Line , 2015, SOFSEM.

[10]  René Schott,et al.  Parallel Searching in the Plane , 1995, Comput. Geom..

[11]  Prosenjit Bose,et al.  Revisiting the Problem of Searching on a Line , 2013, ESA.

[12]  Magnus Egerstedt,et al.  Multi-robot routing for servicing spatio-temporal requests: A musically inspired problem , 2012, ADHS.

[13]  Jeffrey D. Ullman,et al.  Introduction to Automata Theory, Languages and Computation , 1979 .

[14]  Paola Flocchini,et al.  Remembering without memory: Tree exploration by asynchronous oblivious robots , 2010, Theor. Comput. Sci..

[15]  Jean-Sébastien Sereni,et al.  Collaborative search on the plane without communication , 2012, PODC '12.

[16]  Michael A. Bender,et al.  The power of team exploration: two robots can learn unlabeled directed graphs , 1994, Proceedings 35th Annual Symposium on Foundations of Computer Science.

[17]  Bernard Mans Optimal Distributed Algorithms in Unlabeled Tori and Chordal Rings , 1997, J. Parallel Distributed Comput..

[18]  Roger Wattenhofer,et al.  Wireless evacuation on m rays with k searchers , 2020, Theor. Comput. Sci..

[19]  Tobias Langner,et al.  How Many Ants Does It Take to Find the Food? , 2014, SIROCCO.

[20]  A. Beck,et al.  The return of the linear search problem , 1973 .

[21]  Ricardo A. Baeza-Yates,et al.  Searching with Uncertainty (Extended Abstract) , 1988, SWAT.

[22]  Rolf Klein,et al.  Online algorithms for searching and exploration in the plane , 2010, Comput. Sci. Rev..

[23]  Roger Wattenhofer,et al.  13 : 2 A Tight Lower Bound for Semi-Synchronous Collaborative Grid Exploration Semi-Synchrony , 2018 .

[24]  Nicola Santoro,et al.  Autonomous mobile robots with lights , 2016, Theor. Comput. Sci..

[25]  Yutaka Nakamura,et al.  Adaptive foraging for simulated and real robotic swarms: the dynamical response threshold approach , 2016, Swarm Intelligence.

[26]  Alejandro López-Ortiz,et al.  Parallel searching on a lattice , 2001, CCCG.

[27]  A. Beck On the linear search problem , 1964 .

[28]  A. Beck More on the linear search problem , 1965 .

[29]  Richard J. Lipton,et al.  Random walks, universal traversal sequences, and the complexity of maze problems , 1979, 20th Annual Symposium on Foundations of Computer Science (sfcs 1979).

[30]  R. Bellman An Optimal Search , 1963 .

[31]  Andrzej Pelc,et al.  Graph exploration by a finite automaton , 2005, Theor. Comput. Sci..

[32]  Nicola Santoro,et al.  Arbitrary pattern formation by asynchronous, anonymous, oblivious robots , 2008, Theor. Comput. Sci..

[33]  A. Wald On Cumulative Sums of Random Variables , 1944 .

[34]  Yuval Emek,et al.  Exploring an Infinite Space with Finite Memory Scouts , 2017, SODA.