Pattern Formation, Dancing, and Sequential Schedulers
Abstract
In theoretical computer science, the study of swarms of autonomous mobile robots has concentrated on computational entities operating in Look–Compute–Move cycles in Euclidean spaces. The computational issues arising in such settings are viewed as due to the interplay between the robots’ capabilities and the adversarial power of a scheduler controlling the timing of their activations and the duration of their operations. The focus of research has been on determining the minimal capabilities that allow the robots to solve a given problem under a given adversarial scheduler. Of particular interest is the class of Pattern Formation problems, and its more complex extension - called Dancing - of forming sequences of patterns. We discuss the computational power of the robots operating under Sequential schedulers in relation to Pattern Formation and Dancing, showing that this power is stronger than the obvious capacity of symmetry breaking, and thus of leader election. Recent results are reported.
Keywords and phrases:
Autonomous mobile robots, Look-Compute-Move, Sequential schedulers, Pattern formation, Sequence of patterns, Computational powerCategory:
Invited Talk2012 ACM Subject Classification:
Theory of computation Distributed algorithmsEditors:
George B. Mertzios and Andréa W. RichaSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction and Backgound
In distributed computing, extensive research has focused on the computational power of systems of autonomous mobile robots. The robots operate in Euclidean spaces (typically the plane) in Look–Compute–Move (LCM) cycles of activities: upon activation, each robot observes the positions of the others - Look, executes a set of deterministic rules common to all robots to compute a destination - Compute, and moves toward it - Move.
One of the main concerns of the research in the field is the study of the minimal capabilities that would allow the robots to solve a given problem (e.g., see [13]). Examples of capabilities are a shared coordinate system (a compass), chirality (a common notion of clockwise), rigidity of movements (the robots reach exactly their destination), multiplicity detection (the ability of distinguishing points occupied by multiple robots).
In the standard BLOT model, robots are anonymous, oblivious, and silent: they have no persistent memory, no means of explicit communication, and no distinguishing features. An extension of the model that has been widely investigated is the UMI model, where each robot is equipped with a visible light displaying a colour (from a small set of colours) that can change at every cycle. This light can be used as a constant-size persistent memory, as well as a limited form of communication [8].
One of the key factors influencing the computational power of the robots is the level of synchronization and the duration of each operation within the LCM cycle. In the synchronous setting, time is divided into discrete rounds; in each round, a non-empty subset of robots is activated and perform their LCM cycle simultaneously. The activation of robots is governed by a fair adversary (called scheduler). Under the special fully synchronous scheduler all robots are activated at each cycle; under the most general synchronous scheduler (also called semi-synchronous), the adversary can activate any subset of robots.
Among the synchronous schedulers, considerable attention has been recently given to the class of Sequential ones, where exactly one robot is activated at each round [6, 10, 11, 12, 18]. The most general sequential schedulers is , where the adversary can chose an arbitrary robot to be activated at each cycle. At first glance, such schedulers appear to offer only the advantage of enabling symmetry breaking, and thus leader election; the computational power of robots operating under a sequential scheduler is instead much more interesting.
The impact of the type of schedulers on the computational power of the robots in the BLOT, UMI, and related models, as well as a picture of their computational landscape has been studied in [1, 2, 11, 16, 17].
In the following, we report on recent results on the impact that sequential schedulers have on the class of pattern formation problems.
2 Universal Pattern Formation
Pattern formation (or Shape formation) refers to the problem of the robots rearranging themselves from their initial positions so that, at some point in time, the set of their locations in the plane (the configuration) satisfies some geometric predicate given in input (the pattern) and no longer move. Typically, the pattern is specified as a set of points representing a geometric figure that the robots must form irrespective of rotation, reflection, translation or scaling (e.g., [15, 19, 20, 22]). A special pattern is the point; in the point formation problem (also known as Gathering), all robots must meet at a single, unspecified location (e.g., [5, 21]).
Pattern formation has been widely studied under various assumptions. A trivial assumption is that the robots must be at least as many as the points in the target pattern - if they are more, multiple robots will lie on the same points of the pattern. Most of the algorithmic research has however relied on additional assumptions. These include: limiting the types of permissible initial configurations (for example, requiring robots to start from distinct positions); imposing restrictions on the number of robots or the size of the pattern (e.g., the size of the swarm is a prime number, or it is equal to the number of points in the pattern); enforcing specific symmetry relationships between the initial configuration and the target pattern; assuming a shared coordinate system or common chirality among the robots; requiring rigid movements; designating a particular robot as a distinguished leader different from the others, etc. (e.g., [3, 4, 14, 15, 20, 22]).
Universal Pattern Formation (UPF) is the most general problem in this class, and it requires the robots to form any arbitrary pattern given in input, starting from any arbitrary initial configuration, regardless of the number of robots, and of the number of points in the pattern, under just the trivial assumption. Let be the UPF problem when the pattern to be formed is not a single point. It has recently been shown in [12] that is solvable in BLOT under without any additional assumption. Furthermore, for point formation, weak multiplicity detection has been identified as a necessary and sufficient condition for solvability in , and an algorithm has been provided. In other words, it has been established that under any sequential scheduler: oblivious robots can solve without any additional assumption; Gathering and, hence, UPF can be solved with the only addition of weak multiplicity detection. Since it is known from the literature that Gathering is solvable under but not under , then it follows that the sets of problems solvable in and are orthogonal, whereas the computational power of the robots under is stronger than under ; see Figure 1.
3 Universal Dancing
The Dancing problem has been introduced in [9], and it requires the robots to form a given ordered sequence of patterns (choreography). For an example of a choreography, see Figure 2. Note that transitioning from one pattern to the next requires forming intermediate patters that still allow to determine the next pattern to be formed in the choreography. This is especially challenging for oblivious robots, and remains quite complicated even for robots equipped with lights, as these offer only constant memory.
In BLOT, the possibility to perform a choreography is subject to several constraints: on the patterns (they must all be distinct, have the same number of points, and share the same degree of symmetry); on the number of robots (it must match the number of points in the patterns); on the initial configuration (the robots must start from distinct locations and their positions must have the same symmetricity as the patterns); and on the structure of the choreography (the sequence must be periodic). Under these necessary constraints, an algorithm was presented that allows BLOT robots to carry out a choreography under , using a distinctive technique based on the relative distances among selected robots to collectively encode the “index” of the next pattern to be formed; this algorithm assumes chirality agreement and rigid movements [9].
The impact of UMI’s limited memory and communication capabilities on the feasibility of Dancing was studied in [7], where it was shown that, assuming chirality, the set of feasible sequences is subject to fewer restrictions, even with non-rigid movements. In particular, given a sufficient number of colors, a swarm can perform a periodic choreography that includes repeated patterns as well as contractions and expansions, starting from any configuration where robots occupy distinct locations and under weaker symmetry requirements on the patterns and the initial configuration. Interestingly, this results hold even under asynchronous schedulers (where no notion of synchronized round exists).
The results of [7, 9] reveal a fundamental insight when moving from Pattern Formation to Dancing. Let indicate a model BLOT, UMI under scheduler , and let be the set of patterns formable under . Given a set , a periodic sequence of patterns chosen from is not necessarily a feasible choreography under . In other words, a collection of feasible patterns does not necessarily yield a feasible sequence.
The most general Dancing problem is Universal Dancing, requiring the robots to form any sequence of arbitrary patterns, independently of any property (e.g., symmetry, size, shape, etc.) of the patterns or of the initial configuration, whether the sequence is periodic or not.
The power of sequential schedulers with respect to Dancing in UMI has been recently established in [10], where it has been shown that Universal Dancing is indeed solvable under , even without rigid movement nor agreement on a common chirality. The universal dancing algorithm of [10] is based, among other techniques, on the possibility of implementing a distributed colored counter, which allows the robots to keep track of the current pattern being formed in the choreography.
4 Conclusions
In conclusion, when considering pattern formation problems, sequential schedulers do not simply provide robots with means to break the symmetry. By enabling forms of implicit coordination unavailable in other synchronous settings, sequential schedulers allow the creation of new algorithmic tools that can be exploited especially to remove assumptions that are inherent when the robots operate under the other classical schedulers. The research is ongoing to study the impact of sequential schedulers on the solution of other classes of problems.
References
- [1] K. Buchin, P. Flocchini, I. Kostitsyna, T. Peters, N. Santoro, and K. Wada. Autonomous mobile robots: refining the computational landscape. In Proc. of IEEE International Parallel and Distributed Processing Symposium Workshops, pages 576–585, 2021.
- [2] K. Buchin, P. Flocchini, I. Kostitsyna, T. Peters, N. Santoro, and K. Wada. On the computational power of energy-constrained mobile robots. Information and Computation, 303:105280, 2025. doi:10.1016/J.IC.2025.105280.
- [3] S. Cicerone, G. Di Stefano, and A. Navarra. Asynchronous arbitrary pattern formation: The effects of a rigorous approach. Distributed Computing, 32(2):91–132, 2019. doi:10.1007/S00446-018-0325-7.
- [4] S. Cicerone, G. Di Stefano, and A. Navarra. Solving the pattern formation by mobile robots with chirality. IEEE Access, 9:88177–88204, 2021. doi:10.1109/ACCESS.2021.3089081.
- [5] M. Cieliebak, P. Flocchini, G. Prencipe, and N. Santoro. Distributed computing by mobile robots: Gathering. SIAM J. Comput., 41(4):829–879, 2012. doi:10.1137/100796534.
- [6] S. Clemente and C. Feletti. Fault detection and identification by autonomous mobile robots. In Proc. of 4th Symposium on Algorithmic Foundations of Dynamic Networks (SAND), pages 10:1–10:20, 2025.
- [7] S. Das, P. Flocchini, G. Prencipe, and N. Santoro. Forming sequences of patterns with luminous robots. IEEE Access, 8:90577–90597, 2020. doi:10.1109/ACCESS.2020.2994052.
- [8] S. Das, P. Flocchini, G. Prencipe, N. Santoro, and M. Yamashita. Autonomous mobile robots with lights. Theoretical Computer Science, 609:171–184, 2016. doi:10.1016/J.TCS.2015.09.018.
- [9] S. Das, P. Flocchini, N. Santoro, and M. Yamashita. Forming sequences of geometric patterns with oblivious mobile robots. Distributed Computing, 28(2):131–145, 2015. doi:10.1007/S00446-014-0220-9.
- [10] C. Feletti, P. Flocchini, D. Pattanayak, G. Prencipe, and N. Santoro. Universal dancing by luminous robots under sequential schedulers. In Proc. of 33rd International Colloquium On Structural Information and Communication Complexity (SIROCCO), 2026.
- [11] C. Feletti, P. Flocchini, and N. Santoro. On the computational power of mobile robots under sequential schedulers. In Proc. of 27th International Symposium on Stabilization, Safety, and Security of Distributed Systems (SSS), 2025.
- [12] P. Flocchini, A. Navarra, D. Pattanayak, F. Piselli, and N. Santoro. Universal pattern formation by oblivious robots under sequential schedulers. Distributed Computing, 39(2):11, 2026. doi:10.1007/S00446-026-00504-3.
- [13] P. Flocchini, G. Prencipe, and N. Santoro (Eds). Distributed Computing by Mobile Entities. Springer, 2019.
- [14] P. Flocchini, G. Prencipe, N. Santoro, and G. Viglietta. Distributed computing by mobile robots: Uniform circle formation. Distributed Computing, 30(6):413–457, 2017. doi:10.1007/S00446-016-0291-X.
- [15] P. Flocchini, G. Prencipe, N. Santoro, and P. Widmayer. Arbitrary pattern formation by asynchronous, anonymous, oblivious robots. Theoretical Computer Science, 407(1):412–447, 2008. doi:10.1016/J.TCS.2008.07.026.
- [16] P. Flocchini, N. Santoro, Y. Sudo, and K. Wada. On asynchrony, memory, and communication: separations and landscapes. In Proc. of 27th Int. Conf. on Principles of Distributed Systems (OPODIS), pages 28:1–28:23, 2023.
- [17] P. Flocchini, N. Santoro, and K. Wada. On memory, communication, and synchronous schedulers when moving and computing. In Proc. of 23rd Int. Conf. on Principles of Distributed Systems (OPODIS), pages 225:1–25:17, 2019.
- [18] F. Frei and K. Wada. Brief announcement: Distinct gathering under round robin. In Proc. of 38th International Symposium on Distributed Computing (DISC), volume 319, pages 48:1–48:8, 2024. doi:10.4230/LIPIcs.DISC.2024.48.
- [19] N. Fujinaga, Y. Yamauchi, H. Ono, S. Kijima, and M. Yamashita. Pattern formation by oblivious asynchronous mobile robots. SIAM Journal of Computing, 44(3):740–785, 2016. doi:10.1137/140958682.
- [20] I. Suzuki and M. Yamashita. Distributed anonymous mobile robots: formation of geometric patterns. SIAM Journal on Computing, 28(4):1347–1363, 1999. doi:10.1137/S009753979628292X.
- [21] S. Terai, K. Wada, and Y. Katayama. Gathering problems for autonomous mobile robots with lights. Theoretical Computer Science, 941:241–261, 2023. doi:10.1016/J.TCS.2022.11.018.
- [22] M. Yamashita and I. Suzuki. Characterizing geometric patterns formable by oblivious anonymous mobile robots. Theoretical Computer Science, 411(26-28):2433–2453, 2010. doi:10.1016/J.TCS.2010.01.037.
