Abstract
Shape formation (or pattern formation) is a basic distributed problem for systems of computational mobile entities. Intensively studied for systems of autonomous mobile robots, it has recently been investigated in the realm of programmable matter, where entities are assumed to be small and with severely limited capabilities. Namely, it has been studied in the geometric Amoebot model, where the anonymous entities, called particles, operate on a hexagonal tessellation of the plane and have limited computational power (they have constant memory), strictly local interaction and communication capabilities (only with particles in neighboring nodes of the grid), and limited motorial capabilities (from a grid node to an empty neighboring node); their activation is controlled by an adversarial scheduler. Recent investigations have shown how, starting from a well-structured configuration in which the particles form a (not necessarily complete) triangle, the particles can form a large class of shapes. This result has been established under several assumptions: agreement on the clockwise direction (i.e., chirality), a sequential activation schedule, and randomization (i.e., particles can flip coins to elect a leader). In this paper we obtain several results that, among other things, provide a characterization of which shapes can be formed deterministically starting from any simply connected initial configuration of n particles. The characterization is constructive: we provide a universal shape formation algorithm that, for each feasible pair of shapes \((S_0, S_F)\), allows the particles to form the final shape \(S_F\) (given in input) starting from the initial shape \(S_0\), unknown to the particles. The final configuration will be an appropriate scaled-up copy of \(S_F\) depending on n. If randomization is allowed, then any input shape can be formed from any initial (simply connected) shape by our algorithm, provided that there are enough particles. Our algorithm works without chirality, proving that chirality is computationally irrelevant for shape formation. Furthermore, it works under a strong adversarial scheduler, not necessarily sequential. We also consider the complexity of shape formation both in terms of the number of rounds and the total number of moves performed by the particles executing a universal shape formation algorithm. We prove that our solution has a complexity of \(O(n^2)\) rounds and moves: this number of moves is also asymptotically worst-case optimal.
Similar content being viewed by others
Notes
The model in [10] allows a special type of coordinated move called “handover”. Since we will not need our particles to perform this type of move, we omit it from our model.
The model in [10] has a more demanding communication system, which assumes each particle to have some local shared memory that all neighboring particles can read and modify.
In Sect. 4, we will also discuss a much more general notion of shape.
For convenience, with a little abuse of terminology, we treat single vertices of \(G_D\) and the empty set as shapes, even if technically they are not, according to the definitions of Sect. 2.
References
Ando, H., Suzuki, I., Yamashita, M.: Formation and agreement problems for synchronous mobile robots with limited visibility. In: Proceedings of the 10th IEEE Symposium on Intelligent Control, pp. 453–460 (1995)
Arbuckle, D., Requicha, A.: Self-assembly and self-repair of arbitrary shapes by a swarm of reactive robots: algorithms and simulations. Auton. Robots 28(2), 197–211 (2010)
Cannon, S., Daymude, J.J., Randall, D., Richa, A.W.: A Markov chain algorithm for compression in self-organizing particle systems. In: Proceedings of the 35th ACM Symposium on Principles of Distributed Computing, pp. 279–288 (2016)
Chirikjian, G.: Kinematics of a metamorphic robotic system. In: Proceedings of the 11th IEEE International Conference on Robotics and Automation, pp. 1:449–1:455 (1994)
Das, S., Flocchini, P., Santoro, N., Yamashita, M.: Forming sequences of geometric patterns with oblivious mobile robots. Distrib. Comput. 28(2), 131–145 (2015)
Daymude, J.J., Derakhshandeh, Z., Gmyr, R., Porter, A., Richa, A.W., Scheideler, C., Strothmann, T.: On the runtime of universal coating for programmable matter. In: Proceedings of 22nd International Conference on DNA Computing and Molecular Programming, pp. 148–164 (2016)
Daymude, J.J., Gmyr, R., Richa, A.W., Scheideler, C., Strothmann, T.: Improved leader election for self-organizing programmable matter (2017). arXiv:1701.03616
Demaine, E.D., Patitz, M.J., Schweller, R.T., Summers, S.M.: Self-assembly of arbitrary shapes using RNAse enzymes: meeting the Kolmogorov bound with small scale factor (extended abstract). In: Proceedings of the 28th Symposium on Theoretical Aspects of Computer Science, pp. 201–212 (2011)
Derakhshandeh, Z., Gmyr, R., Richa, A.W., Scheideler, C., Strothmann, T.: An algorithmic framework for shape formation problems in self-organizing particle systems. In: Proceedings of the 2nd International Conference on Nanoscale Computing and Communication, pp. 21:1–21:2 (2015)
Derakhshandeh, Z., Gmyr, R., Richa, A.W., Scheideler, C., Strothmann, T.: Universal shape formation for programmable matter. In: Proceedings of the 28th ACM Symposium on Parallelism in Algorithms and Architectures, pp. 289–299 (2016)
Derakhshandeh, Z., Gmyr, R., Richa, A.W., Scheideler, C., Strothmann, T.: Universal coating for programmable matter. Theor. Comput. Sci. 671, 56–68 (2017)
Derakhshandeh, Z., Gmyr, R., Strothmann, T., Bazzi, R.A., Richa, A.W., Scheideler, C.: Leader election and shape formation with self-organizing programmable matter. In: Proceedings of 21st International Conference on DNA Computing and Molecular Programming, pp. 117–132 (2015)
Di Luna, G.A., Flocchini, P., Prencipe, G., Santoro, N., Viglietta, G.: Line recovery by programmable particles. In: Proceedings of the 19th International Conference on Distributed Computing and Networking (ICDCN) (to appear)
Dolev, S., Frenkel, S., Rosenbli, M., Narayanan, P., Venkateswarlu, K.M.: In-vivo energy harvesting nano robots. In: the 3rd IEEE International Conference on the Science of Electrical Engineering, pp. 1–5 (2016)
Flocchini, P., Prencipe, G., Santoro, N., Widmayer, P.: Arbitrary pattern formation by asynchronous, anonymous, oblivious robots. Theor. Comput. Sci. 407(1), 412–447 (2008)
Fujinaga, N., Yamauchi, Y., Ono, H., Kijima, S., Yamashita, M.: Pattern formation by oblivious asynchronous mobile robots. SIAM J. Comput. 44(3), 740–785 (2016)
Li, K., Thomas, K., Torres, C., Rossi, L, Shen, C.-C.: Slime mold inspired path formation protocol for wireless sensor networks. In: Proceedings of the 7th International Conference on Swarm Intelligence, pp. 299–311 (2010)
Michail, O.: Terminating distributed construction of shapes and patterns in a fair solution of automata. Distrib. Comput. (2018). https://doi.org/10.1007/s00446-017-0309-z
Michail, O., Skretas, G., Spirakis, P.G.: On the transformation capability of feasible mechanisms for programmable matter. In: Proceedings of the 44th International Colloquium on Automata, Languages, and Programming, pp. 136:1–136:15 (2017)
Naz, A., Piranda, B., Bourgeois, J., Goldstein, S.C.: A distributed self-reconfiguration algorithm for cylindrical lattice-based modular robots. In: Proceedings of the 15th IEEE International Symposium on Network Computing and Applications, pp. 254–263 (2016)
Patitz, M.J.: An introduction to tile-based self-assembly and a survey of recent results. Nat. Comput. 13(2), 195–224 (2014)
Rothemund, P.W.: Folding DNA to create nanoscale shapes and patterns. Nature 440(7082), 297–302 (2006)
Rubenstein, M., Cornejo, A., Nagpal, R.: Programmable self-assembly in a thousand-robot swarm. Science 345(6198), 795–799 (2014)
Schiefer, N., Winfree, E.: Universal computation and optimal construction in the chemical reaction network-controlled tile assembly model. In: Proceedings of the 21st DNA Computing and Molecular Programming, pp. 34–54 (2015)
Suzuki, I., Yamashita, M.: Distributed anonymous mobile robots: formation of geometric patterns. SIAM J. Comput. 28(4), 1347–1363 (1999)
Toffoli, T., Margolus, N.: Programmable matter: concepts and realization. Physica D: Nonlinear Phenom. 47(1), 263–272 (1991)
Walter, J.E., Welch, J.L., Amato, N.M.: Distributed reconfiguration of metamorphic robot chains. Distrib. Comput. 17(2), 171–189 (2004)
Woods, D., Chen, H.-L., Goodfriend, S., Dabby, N., Winfree, E., Yin, P.: Active self-assembly of algorithmic shapes and patterns in polylogarithmic time. In: Proceedings of the 4th Conference on Innovations in Theoretical Computer Science, pp. 353–354 (2013)
Yamashita, M., Suzuki, I.: Characterizing geometric patterns formable by oblivious anonymous mobile robots. Theor. Comput. Sci. 411(26–28), 2433–2453 (2010)
Acknowledgements
This research has been supported in part by the Natural Sciences and Engineering Research Council of Canada under the Discovery Grant program, by Prof. Flocchini’s University Research Chair, and by Prof. Yamauchi’s Grant-in-Aid for Scientific Research on Innovative Areas “Molecular Robotics” (No. 15H00821) of MEXT, Japan and JSPS KAKENHI Grant No. JP15K15938.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Di Luna, G.A., Flocchini, P., Santoro, N. et al. Shape formation by programmable particles. Distrib. Comput. 33, 69–101 (2020). https://doi.org/10.1007/s00446-019-00350-6
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00446-019-00350-6