Abstract
Two identical (anonymous) mobile agents start from arbitrary nodes of an unknown tree and have to meet at some node. Agents move in synchronous rounds: in each round an agent can either stay at the current node or move to one of its neighbors. We consider deterministic algorithms for this rendezvous task. The main result of this paper is a tight trade-off between the optimal time of completing rendezvous and the size of memory of the agents. For agents with \(k\) memory bits, we show that optimal rendezvous time is \(\Theta (n+n^2/k)\) in \(n\)-node trees. More precisely, if \(k \ge c\log n\), for some constant \(c\), we design agents accomplishing rendezvous in arbitrary trees of size \(n\) (unknown to the agents) in time \(O(n+n^2/k)\), starting with arbitrary delay. We also show that no pair of agents can accomplish rendezvous in time \(o(n+n^2/k)\), even in the class of lines of known length and even with simultaneous start. Finally, we prove that at least logarithmic memory is necessary for rendezvous, even for agents starting simultaneously in a \(n\)-node line.
Similar content being viewed by others
Notes
A result from [21] implies that rendezvous with simultaneous start from arbitrary non-symmetric initial positions in a \(n\)-node line is possible with \(O(\log \log n)\) bits of memory. This result from [21] is untrue, although it holds in the model with adversarial port labelings, cf. the corrected version of that paper [22].
References
Alpern, S.: The rendezvous search problem. SIAM J. Control Optim. 33, 673–683 (1995)
Alpern, S.: Rendezvous search on labelled networks. Nav. Res. Logist. 49, 256–274 (2002)
Alpern, S., Gal, S.: The Theory of Search Games and Rendezvous. Int. Series in Operations Research and Management Science. Kluwer, Dordrecht (2002)
Alpern, J., Baston, V., Essegaier, S.: Rendezvous search on a graph. J. Appl. Probab. 36, 223–231 (1999)
Ambühl, C., Gasieniec, L., Pelc, A., Radzik, T., Zhang, X.: Tree exploration with logarithmic memory. ACM Trans. Algorithms 7(2), article 17 (2011)
Anderson, E., Weber, R.: The rendezvous problem on discrete locations. J. Appl. Probab. 28, 839–851 (1990)
Anderson, E., Fekete, S.: Asymmetric rendezvous on the plane. In: Proceedings 14th Annual ACM Symposium on Computational Geometry, pp. 365–373 (1998)
Anderson, E., Fekete, S.: Two-dimensional rendezvous search. Oper. Res. 49, 107–118 (2001)
Baba, D., Izumi, T., Ooshita, F., Kakugawa, H., Masuzawa, T.: Space-optimal rendezvous of mobile agents in asynchronous trees. In: Proceedings 17th International Colloquium on Structural Information and Comm. Complexity, (SIROCCO 2010), LNCS 6058, pp. 86–100 (2010)
Baston, V., Gal, S.: Rendezvous on the line when the players’ initial distance is given by an unknown probability distribution. SIAM J. Control Optim. 36, 1880–1889 (1998)
Baston, V., Gal, S.: Rendezvous search when marks are left at the starting points. Nav. Res. Logist. 48, 722–731 (2001)
Cieliebak, M., Flocchini, P., Prencipe, G., Santoro, N.: Solving the robots gathering problem. In: Proceedings 30th International Colloquium on Automata, Languages and Programming (ICALP 2003), pp. 1181–1196. (2003)
Czyzowicz, J., Kosowski, A., Pelc, A.: How to meet when you forget: log-space rendezvous in arbitrary graphs. Distrib. Comput. 25, 165–178 (2012)
Czyzowicz, J., Labourel, A., Pelc, A.: How to meet asynchronously (almost) everywhere. ACM Trans. Algorithms 8, article 37 (2012)
De Marco, G., Gargano, L., Kranakis, E., Krizanc, D., Pelc, A., Vaccaro, U.: Asynchronous deterministic rendezvous in graphs. Theor. Comput. Sci. 355, 315–326 (2006)
Dessmark, A., Fraigniaud, P., Kowalski, D., Pelc, A.: Deterministic rendezvous in graphs. Algorithmica 46, 69–96 (2006)
Duval, J.P.: Factorizing words over an ordered alphabet. J. Algorithms 4, 363–381 (1983)
Elouasbi, S., Pelc, A.: Time of anonymous rendezvous in trees: Determinism vs. randomization. In: Proceedings 19th International Colloquium on Structural Information and Communication Complexity (SIROCCO 2012), LNCS 7355, pp. 291–302 (2012)
Flocchini, P., Prencipe, G., Santoro, N., Widmayer, P.: Gathering of asynchronous robots with limited visibility. Theor. Comput. Sci. 337, 147–168 (2005)
Fraigniaud, P., Pelc, A.: Deterministic rendezvous in trees with little memory. In: Proceedings 22nd International Symposium on Distributed Computing (DISC 2008), LNCS 5218, pp. 242–256 (2008)
Fraigniaud, P., Pelc, A.: Delays induce an exponential memory gap for rendezvous in trees. In: Proceedings 22nd Annual ACM Symposium on Parallel Algorithms and Architectures (SPAA 2010), pp. 224–232 (2010)
Fraigniaud, P., Pelc, A.: Delays induce an exponential memory gap for rendezvous in trees. ACM Trans. Algorithms 9(2), article 17 (2013)
Gal, S.: Rendezvous search on the line. Oper. Res. 47, 974–976 (1999)
Israeli, A., Jalfon, M.: Token management schemes and random walks yield self stabilizing mutual exclusion. In: Proceedings 9th Annual ACM Symposium on Principles of Distributed Computing (PODC 1990), pp. 119–131. (1990)
Kowalski, D., Malinowski, A.: How to meet in anonymous network. Theor. Comput. Sci. 399, 141–156 (2008)
Kranakis, E., Krizanc, D., Morin, P.: Randomized rendezvous with limited memory. ACM Trans. Algorithms 7(3), article 34 (2011)
Kranakis, E., Krizanc, D., Santoro, N., Sawchuk, C.: Mobile agent rendezvous in a ring. In: Proceedings 23rd International Conference on Distributed Computing Systems (ICDCS 2003), IEEE, pp. 592–599 (2003)
Lim, W., Alpern, S.: Minimax rendezvous on the line. SIAM J. Control Optim. 34, 1650–1665 (1996)
Miller, G.L., Reif, J.H.: Parallel tree contraction part 1: Fundamentals. In: Micali, S. (ed.) Randomness and Computation, Vol. 5, pp. 47–72. JAI Press, Greenwich, Connecticut (1989)
Pelc, A.: Deterministic rendezvous in networks: a comprehensive survey. Networks 59, 331–347 (2012)
Roh, K., Crochemore, M., Iliopoulos, C.S., Park, K.: External memory algorithms for string problems. Fundam. Inform. 84, 17–32 (2008)
Ta-Shma, A., Zwick, U.: Deterministic rendezvous, treasure hunts and strongly universal exploration sequences. In: Proceedings 18th ACM-SIAM Symposium on Discrete Algorithms (SODA 2007), pp. 599–608 (2007)
Thomas, L.: Finding your kids when they are lost. J. Oper. Res. Soc. 43, 637–639 (1992)
Yu, X., Yung, M.: Agent rendezvous: a dynamic symmetry-breaking problem. In: Proceedings International Colloquium on Automata, Languages, and Programming (ICALP 1996), LNCS 1099, pp. 610–621 (1996)
Author information
Authors and Affiliations
Corresponding author
Additional information
A preliminary version of this paper appeared in the Proceedings of 24th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA 2012), June 2012, Pittsburgh, USA, 1-10.
Jurek Czyzowicz was supported in part by NSERC discovery grant.
This research was partially done while Adrian Kosowski was working at the Department of Algorithms and System Modeling of the Gdańsk University of Technology and during his visit to the Research Chair in Distributed Computing of the Université du Québec en Outaouais. Supported in part by ANR project DISPLEXITY and by NCN under contract DEC-2011/02/A/ST6/00201.
Andrzej Pelc was supported in part by NSERC discovery grant and by the Research Chair in Distributed Computing of the Université du Québec en Outaouais.
Rights and permissions
About this article
Cite this article
Czyzowicz, J., Kosowski, A. & Pelc, A. Time versus space trade-offs for rendezvous in trees. Distrib. Comput. 27, 95–109 (2014). https://doi.org/10.1007/s00446-013-0201-4
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00446-013-0201-4