Synchronous black hole search in directed graphs
2011, Theoretical Computer Science
https://doi.org/10.1016/J.TCS.2011.05.054Abstract
The paper considers a team of robots which has to explore a graph G where some nodes can be harmful. Robots are initially located at the so called home base node. The dangerous nodes are the so called black hole nodes, and once a robot enters in one of them, it is destroyed. The goal is to find a strategy in order to explore G in such a way that the minimum number of robots is wasted. The exploration ends if there is at least one surviving robot which knows all the edges leading to the black holes. As many variations of the problem have been considered so far, the solution and its measure heavily depend on the initial knowledge and the capabilities of the robots. In this paper, we assume that G is a directed graph, the robots are associated with unique identifiers, they know the number of nodes n of G (or at least an upper bound on n), and they know the number of edges ∆ leading to the black holes. Each node is associated with a whiteboard where robots can read and write information in a mutual exclusive way. A recently posed question [Czyzowicz et al., Proc. SIROCCO'09 ] is whether some number of robots, expressed as a function of parameter ∆ only, is sufficient to detect black holes in directed graphs of arbitrarily large order n. We give a positive answer to this question for the synchronous case, i.e., when the robots share a common clock, showing that O(∆ • 2 ∆) robots are sufficient to solve the problem. This bound is nearly tight, since it is known that at least 2 ∆ robots are required for some instances. Quite surprisingly, we also show that unlike in the case of undirected graphs, for the directed version of the problem, synchronization can sometimes make a difference: for ∆ = 2, in the synchronous case 4 robots are always sufficient, whereas in the asynchronous case at least 5 robots are sometimes required.
References (13)
- B. Balamohan, P. Flocchini, A. Miri, and N. Santoro. Time Optimal Algorithms for Black Hole Search in Rings. In Proc. of 4th International Conference on Combinatorial Optimization and Applications (COCOA), LNCS 6508, pages 58-71, 2010.
- C. Cooper, R. Klasing, and T. Radzik. Locating and repairing faults in a net- work with mobile agents. Theoretical Computer Science, 411(14-15):1638-1647, 2010.
- J. Czyzowicz, D. Kowalski, E. Markou, and A. Pelc. Searching for a black hole in synchronous tree networks. Combinatorics, Probability and Computing, 16:595-619, 2007.
- J. Czyzowicz, S. Dobrev, R. Kralovic, S.Miklik, and D. Pardubska. Black Hole Search in Directed Graphs. In Proc. of 16th International Colloquium on Struc- tural Information and Communication Complexity (SIROCCO), LNCS 5869, pages 182-194, 2009.
- S. Dobrev, P. Flocchini, R. Kralovic, G. Prencipe, P. Ruzicka, and N. Santoro. Black hole Search in Common Interconnection Networks. Networks, 47(2):61- 71, 2006.
- S. Dobrev, P. Flocchini, G. Prencipe, and N. Santoro. Searching for a black hole in arbitrary networks: optimal mobile agents protocols. Distributed Computing, 19(1):1-18, 2006.
- S. Dobrev, P. Flocchini, G. Prencipe, and N. Santoro. Mobile search for a black hole in an anonymous ring. Algorithmica, 48(1):67-90, 2007.
- S. Dobrev, P. Flocchini, and N. Santoro. Improved bounds for optimal black hole search in a network with a map. In Proc. of 11th International Colloquium on Structural Information and Communication Complexity (SIROCCO), LNCS 3104, pages 111-122, 2004.
- L. Gąsieniec, R. Klasing, R.A. Martin, A. Navarra and X. Zhang. Fast periodic graph exploration with constant memory. Journal of Computer and System Sciences (JCSS), 74(5):802-822, 2008.
- P. Glaus. Locating a Black Hole without the Knowledge of Incoming Link. In Proc. of 5th International Workshop on Algorithmic Aspects of Wireless Sensor Networks (ALGOSENSORS), LNCS 5804, pages 128-138, 2009.
- R. Klasing, E. Markou, T. Radzik, and F. Sarracco. Approximation bounds for Black Hole Search problems. Networks, 52(4):216-226, 2008.
- A. Kosowski and A. Navarra. Graph Decomposition for Improving Memoryless Periodic Exploration. In Proc. of 34th International Symposium on Mathemat- ical Foundations of Computer Science (MFCS), LNCS 5734, pages 501-512, 2009.
- A. Kosowski, A. Navarra, and C.M. Pinotti. Synchronization Helps Robots to Detect Black Holes in Directed Graphs. In Proc. of 13th International Confer- ence on Principles of Distributed Systems (OPODIS), LNCS 5923, pages 86-98, 2009.