Abstract
For a given positive integer k, the k-circle formation problem asks a set of autonomous, asynchronous robots to form disjoint circles having k robots each at distinct locations, centered at a set of fixed points in the Euclidean plane. The robots are identical, anonymous, oblivious, and they operate in Look–Compute–Move cycles. This paper studies the k-circle formation problem and its relationship with the k-epf problem, a generalized version of the embedded pattern formation problem, which asks exactly k robots to reach and remain at each fixed point. First, the k-circle formation problem is studied in a setting where the robots have an agreement on the common direction and orientation of one of the axes. We have characterized all the configurations and the values of k, for which the k-circle formation problem is deterministically unsolvable in this setting. For the remaining configurations and the values of k, a deterministic distributed algorithm has been proposed, in order to solve the problem. It has been proved that for the initial configurations with distinct robot positions, if the k-circle formation problem is deterministically solvable then the k-epf problem is also deterministically solvable. It has been shown that by modifying the proposed algorithm, the k-epf problem can be solved deterministically.
1. Introduction
A swarm of robots is a multi-robot system consisting of small and inexpensive mobile robots working together in a cooperative environment to achieve some specific goal. A swarm of robots has the potential to be utilized in risky and hazardous scenarios, such as in the fields of search and rescue operations, military operations, fire fighting, etc. Robots are autonomous, anonymous, homogeneous, and oblivious. A robot is modeled as a geometric point in the plane. The robots do not have any agreement on a global coordinate system. Each robot has its own local coordinate system. They do not have any explicit means of communication. When a robot becomes active, it operates in Look–Compute–Move (LCM) cycles. The study of such a distributed system of mobile robots aims at finding a minimal set of capabilities in order to solve a given problem. Some of the well-known co-ordination problems studied in this area of research work are gathering and convergence [1,2,3,4,5,6,7,8,9], arbitrary pattern formation [10,11,12,13], embedded pattern formation [14,15], circle formation [16,17,18,19,20,21] etc.
The embedded pattern formation [14,15] asks the robots to form a given pattern, in which the points comprising the pattern are assumed to be pre-fixed and visible to all the robots like landmarks. Cicerone et al. [22] studied the gathering on meeting points problem where the robots need to gather at one of the pre-determined points in the plane, referred to as meeting points. In the discrete domain, Bhagat et al. [23] studied the gathering over meeting nodes problem in an infinite grid, where some of the nodes of the grid have been considered as meeting nodes.
In this paper, we have considered fixed points in the Euclidean plane. For a given positive integer k, we consider n mobile robots such that km. The k-circle formation problem is defined as follows: the n mobile robots need to form m circles, each centered at one of the fixed points, such that each circle contains exactly k robots at distinct positions. The circles formed by the robots must be disjoint, i.e., no robot is allowed to lie on any two distinct circles. Note that the circles do not require to be necessarily uniform. In other words the k robots forming one particular circle have identical distance from a particular fixed point, but their mutual distances can be anything. In general, one may consider different radii for the circles. In this paper, we consider all the circles to have the same radius, which is a special case of the k-circle formation problem.
We have considered a swarm of mobile robots, which are represented as points in the Euclidean plane. The robots are silent, i.e., they do not have any explicit direct way of communication. They coordinate their movements by perceiving the positions of other robots. The robots are assumed to have unlimited visibility, i.e., the robots can observe the entire plane. We assume that initially all the robots are placed at distinct locations in the plane. Robots are assumed to be:
- Autonomous, i.e., they do not have any centralized controller;
- Anonymous, i.e., they have no unique identifier;
- Oblivious, i.e., they do not remember anything about the past events;
- Homogeneous, i.e., they execute the same deterministic algorithm.
The robots operate in Look–Compute–Move (LCM) cycles. In the look phase, the robot senses the current configuration in its own local coordinate system. In the compute phase, a destination point is computed by the robot. The destination point may be the robot’s current location. In the move phase, the robot moves towards the destination point. A robot cannot distinguish between a static robot and a moving robot, in its look phase.
The robots have non-rigid motion, i.e., there exists a fixed but unknown such that if the destination is more than distance away from a robot, the robot moves at least amount towards its destination. If the destination point is less than distance away, the robot is guaranteed to reach its destination.
The scheduler is assumed to be fair, i.e., each robot is activated infinitely often and performs its LCM cycle within finite time. The following types of schedulers are commonly used:
- 1.
- Fully-synchronous (FSYNC): Robots have a common notion of time. All the robots are activated simultaneously and perform all operations synchronously.
- 2.
- Semi-synchronous (SSYNC): It coincides with the FSYNC scheduler with the only difference that not all the robots are activated in each round.
- 3.
- Asynchronous (ASYNC): Robots do not have a common notion of time. They are activated independently, and the duration of each LCM cycle and inactivity phase is finite but unbounded.
We have considered a fair ASYNC scheduler. Due to the asynchrony, a robot might be in motion when some other robot is in its look phase. As a result, for an active robot, the perceived configuration in its look phase might be different from the configuration at the time when it actually starts moving.
The theoretical motivation for studying the k-circle formation problem is twofold. First, we believe that the problem is theoretically interesting as it is a hybrid problem in between the partitioning problem [24] and the circle formation problem [16,17,18,19,20,21]. Both the problems individually differs from the k-circle formation problem w.r.t. the following points:
- 1.
- The partitioning problem asks the robots to divide themselves into m groups, each having k robots. In addition, the robots in each group are asked to converge into a small area. Unlike the k-circle formation problem, the robots do not need to form circles containing exactly k robots, centered at one of the pre-fixed points.
- 2.
- The circle formation problem asks the robots to place themselves at distinct locations on a circle (not defined a priori), within finite amount of time. In this problem, all the robots participate in forming one single circle, whereas, in the k-circle formation problem, the robots need to form m circles each containing exactly k robots and centered at one of the fixed points.
To the best of our knowledge, we believe that this is the first work that aims at connecting the two well-known problems in the literature, namely the partitioning problem and the circle formation problem. Secondly, if the robots could solve the k-circle formation problem, then all the k robots which lie on the same circle can gather at their respective center, which is a fixed point, within finite number of moves. Thus, studying the solvability of the k-circle formation problem includes investigating the solvability of a generalized version of the embedded pattern formation problem (referred to as k-epf problem in this paper), where k robots need to reach and remain at each fixed point.
In addition, we believe that the k-circle formation problem would have the following applications in the field of swarm robotics:
- 1.
- The set of fixed points can be considered as emergency points, which need to be surrounded. By solving the k-circle formation problem, a swarm of robots can divide themselves into groups, containing k robots and build a perimeter, surrounding the emergency points.
- 2.
- The set of fixed points can also be considered as charging stations, with some given permitted capacity. The robots need to be charged after a certain amount of time to continue working. By solving k-circle formation problem, the robots can reach the charging stations without violating the permitted capacity.
1.1. Related Works
The arbitrary pattern formation problem asks the robots to form an arbitrary geometric pattern given as an input. Suzuki et al. [10] studied the formation of geometric patterns in the plane by the robots. They characterized the class of geometric patterns that can be formed by the robots in terms of their initial configurations. Flocchini et al. [11] investigated the solvability of the arbitrary pattern formation problem by asynchronous robots. Fujinaga et al. [12] proposed an algorithm that forms a given pattern P starting from any initial configuration I, if divides , where denotes the geometric symmetricity, provided that both I and P do not contain multiplicities. Cicerone et al. [13] studied the arbitrary pattern formation problem without assuming common chirality. Bose et al. [25] investigated the arbitrary pattern formation problem for asynchronous robots with lights. The presence of lights serves both as a medium of weak explicit communication and also as a form of memory. This work investigates the problem in a setting where the view of a robot is obstructed by the presence of other robots. In the discrete domain, Bose et al. [26] investigated the arbitrary pattern formation problem on infinite grid for asynchronous robots.
Defago et al. [27] studied the circle formation problem for oblivious anonymous mobile robots without chirality. Defago et al. [18] proposed a distributed algorithm, that ensures that the robots deterministically form a non-uniform circle in a finite number of steps and converge towards a solution to the uniform circle formation. The circle formation problem for asynchronous fat robots has been studied in [17,19]. Flocchini et al. [20] proved that the uniform circle formation problem is solvable for any initial configuration in which the robots are in distinct locations. Bhagat et al. [16] proposed a distributed algorithm to solve the circle formation problem by asynchronous robots having one bit of persistent memory, which minimizes the maximum distance traveled by any robot. Mondal et al. [21] proposed a distributed algorithm for fat robots having limited visibility to form a uniform circle. Felleti et al. [28] studied the uniform circle formation for opaque robots with lights.
The landmarks covering problem studied by Fujinaga et al. [14], asks the robots to reach a configuration where at each landmark point (which is a pre-fixed point in the plane), there is precisely one robot. They proposed an algorithm, assuming common chirality among the robots, which minimizes the total distance traveled by all the robots. Cicerone et al. [15] studied the embedded pattern formation problem without assuming common chirality. Cicerone et al. in [22] solved a variant of the gathering problem, where the robots need to gather at one of the pre-determined points, referred to as meeting points. They also studied this problem w.r.t. two objective functions, by minimizing the total distance traveled by all robots and by minimizing the maximum distance traveled by a single robot. Bhagat et al. [23] studied the gathering over meeting nodes problem in an infinite grid.
Efrima et al. studied the effect of the common orientation on the solvability of the partitioning problem [24] for homogeneous robots. Z. Liu et al. [29] studied the team assembling problem by heterogeneous robots. Given robots with k different colors, the robots are required to partition themselves into teams satisfying a given specification , where is the number of robots with color i in one team.
1.2. Our Contributions
This paper studies the k-circle formation problem for a set of asynchronous oblivious mobile robots in the Euclidean plane. This problem is a hybrid between the partitioning problem and the circle formation problem. The relationship between the k-circle formation problem and the k-epf problem is investigated. The k-circle formation problem has been studied here in a setting where the robots have an agreement on the direction and orientation of one axis. This paper contributes the following three results:
- 1.
- All the initial configurations and the values of k for which the k-circle formation problem is deterministically unsolvable have been characterized.
- 2.
- For the remaining initial configurations and the values of k, a deterministic distributed algorithm has been proposed to solve the problem under an asynchronous scheduler.
- 3.
- For the initial configurations with distinct robot positions, if the k-circle formation problem is deterministically solvable then the k-epf problem is also deterministically solvable.
1.3. Outline
In the next section, we formally define the model and introduce all the required notations and definitions. Section 3 discusses the impossibility result for the k-circle formation problem. Section 4 describes the proposed algorithm that deterministically solves the k-circle formation problem. Section 5 discusses the correctness of the proposed algorithm. Section 6 discusses the relationship between the k-circle formation problem and the k-epf problem. Finally, Section 7 concludes the paper.
2. Model and Definitions
The robots are assumed to be dimensionless, oblivious, anonymous, autonomous, and homogeneous. They are represented by points in the Euclidean plane. They have unlimited visibility range and have no explicit way of communication. The movements of robots are non-rigid. The state of a robot can be either active or inactive. They execute Look–Compute–Move (LCM) cycle when they become active. We have considered a fair ASYNC scheduler, i.e., each robot is activated infinitely often and the duration of each LCM cycle is finite but unbounded. The robots have one axis agreement, i.e., they agree on the direction and orientation of any one of the axes. We assume that they have an agreement on the y-axis. The following notations have been used in the proposed algorithms.
- Configuration: Let be the set of robots. Let denote the position of the robot at time t. is the set of robot positions at time t. We are given a set of fixed points denoted by . It is assumed that km for some positive integer k. Let c be the center of gravity of the set of fixed points F. We assume that the y-axis passes through c. We also assume that c is the origin. Let and denote the set of fixed points and robot positions, respectively, on the y-axis at time t. Let denote the Euclidean distance between r and f. The pair represents the configuration at time t. In an initial configuration , it is assumed that all the robots are stationary and are placed at distinct positions. A configuration is said to be balanced at time t if the number of robots in both the open half-planes delimited by the y-axis is equal. Otherwise, the configuration is said to be unbalanced.
- Circles and radii of circles: We consider that all the circles formed by the robots would have the same radius. Let denote the radius of the circles. Furthermore, let denote the circle centered at with radius . We have used the following notations to formulate the radius of the circles:
- 1.
- minimum distance between two fixed points.
- 2.
- minimum distance between a fixed point and the y-axis.
The radius is defined as min(, ). - We call a configuration final if the following conditions hold:
- 1.
- Every robot is on a circle for some ,
- 2.
- for ,
- 3.
- Each circle contains exactly k robots at distinct positions.
The k-circle formation problem asks the robots to reach and remain in the final configuration, starting from an initial configuration. - A fixed point and its respective circle are said to be unsaturated, if contains less than k robots on it. Let denote the deficit in the number of robots in order to have exactly k robots on the . A fixed point and its respective circle are said to be saturated, if contains exactly k robots on it. In case contains more than k robots, then and are called oversaturated.
- Configuration Rank. Let denote the y-coordinate of a point . Note that the robots do not have an agreement on the positive direction of the x-axis. In case, the robots could have an agreement on the positive direction of the x-axis, denotes the x-coordinate of . Otherwise, denotes the distance of from the y-axis. The pair is the configuration rank of the point . Between the two points and , is said to have higher configuration rank than , if or and . Since the robots have unlimited visibility, they can compute the configuration rank of each point .
- Symmetry about the y-axis. If the robots and for , have the same configuration rank, i.e., , they are said to be symmetric about the y-axis. Let denote the symmetric image of r about the y-axis. If robots and are symmetric about the y-axis, then and . Similarly, two fixed points are said to be symmetric about the y-axis, if they have the same configuration rank. An active robot in its look phase identifies the set to be symmetric about the y-axis, if each robot position has a symmetric image . Similarly, a robot can identify whether the set F is symmetric about the y-axis or not. An active robot in its look phase identifies the configuration to be symmetric about the y-axis if both the sets F and are symmetric about the y-axis. Since the robots have an agreement on the direction and orientation of the y-axis, the configuration cannot admit translational symmetry or rotational symmety.
- Partitioning of configurations: All the configurations can be partitioned into the following disjoint classes:
- 1.
Figure 1. Square represents the center of gravity, black circles represent robot positions, and crosses represent fixed points. (a) -configuration. (b) -configuration. (c) -configuration.- 2.
- All configurations for which the y-axis is a line of symmetry for F, but it is not a line of symmetry for (Figure 1b).
- 3.
- All configurations for which the y-axis is a line of symmetry for and , i.e., there exists a robot position on the y-axis (Figure 1c).
- 4.
- All configurations for which the y-axis is a line of symmetry for . Furthermore, and , i.e., there are no robot positions and fixed points on the y-axis (Figure 2a).
Figure 2. (a) -configuration. (b) -configuration. - 5.
- All configurations for which the y-axis is a line of symmetry for . Furthermore, and , i.e., there are no robot positions on the y-axis, but there are fixed points on the y-axis (Figure 2b).
Note that the classification of the configuration depends only on the y-axis and c. Since the y-axis and c are the same for all the robots, they can easily classify a configuration without conflict.
3. Impossibility Result
In this section, we characterize the initial configurations for which the k-circle formation problem cannot be solved deterministically. Notice that if k is an odd integer and the initial configuration , then must be even. For an initial configuration which is symmetric about the y-axis, if both the values of k and are odd, then . As a result, cannot possibly belong to .
Theorem 1.
If the initial configuration and k is an odd integer, then the k-circle formation problem is deterministically unsolvable.
Proof of Theorem 1.
If possible, let algorithm solve the k-circle formation problem starting from the given initial configuration when k is odd. Consider the scheduler to be semi-synchronous with the additional property that whenever a robot r is activated, is also activated. We assume that all the robots move with constant speed (which is the same for all robots) without transient stops. We also assume that the distance traveled by r is the same as that by . First, consider that both r and have opposite notions of positive x-axis direction. As a result, their views would be identical. Since they run the same algorithm, their destinations and the corresponding paths would be mirror images. Even with non-rigid motion, if they travel the same distance, their final positions would be mirror images of each other. Since we started with a symmetric configuration, no algorithm can break the symmetry under this setup. Let f be a fixed point on the y-axis. Since the overall configuration is symmetric, the robot positions on must be symmetric around the y-axis. As k is odd, must contain a robot position on the y-axis. Since the initial configuration did not have any robot position on the y-axis and all the robots move in pairs, having a robot r moved to the y-axis would mean moving to the same point. As a result, a point of multiplicity will be created, from which it is deterministically impossible to separate r and . Hence, the k-circle formation problem is deterministically unsolvable. □
Notice that the unsolvability criterion (Theorem 1) for the k-circle formation problem would never be satisfied when k is an even integer. Even for odd values of k and the symmetric configurations in , the unsolvability criterion (Theorem 1) for the k-circle formation problem would never be satisfied.
4. Algorithm
In this section, we propose a deterministic distributed algorithm that solves the k-circle formation problem for the remaining configurations. Each active robot will execute the proposed algorithm unless is a final configuration. Each robot will follow the following steps during an execution of :
- 1.
- The robots identify the current configuration. The robots agree upon the positive direction of the x-axis in some configurations.
- 2.
- One or two unsaturated fixed points are selected for the circle formation, referred to as target fixed points.
- 3.
- The robots identify one or two robots for each target fixed point, referred to as candidate robots.
- 4.
- Each candidate robot moves towards the k-circle centered at its target fixed point.
First, we define progress in a half-plane. Let and denote the two half-planes delimited by the y-axis. Let be the unsaturated fixed point, which has the highest rank in at time . Similarly, suppose is the the unsaturated fixed point, which has the highest rank in at time . We say that there has been more progress in than at time t if one of the following conditions holds:
- 1.
- ;
- 2.
- and ;
- 3.
- and and where and are candidate robots for and , respectively.
Otherwise, we say that there has been the same progress in both the half-planes.
4.1. Agreement One Axis
Since the robots have an agreement on the direction and orientation of the y-axis, they also have an agreement on the orientation of the x-axis without direction. This is the algorithm by which the robots identify the configurations in which they could have an agreement on the direction of the x-axis. The robots make an agreement on the direction of the x-axis in such configurations. Each robot in its look phase identifies the class in which belongs to and considers the following cases:
- 1.
- , i.e., F is asymmetric about the y-axis. Let denote all the horizontal lines, each one of which passes through at least one fixed point, listed according to their increasing y-coordinates. Since the fixed points are asymmetric about the y-axis, at least one of these lines must contain asymmetric fixed points. Let be the topmost among such horizontal lines which contains an asymmetric fixed point. Consider the fixed point closest to the y-axis and not having a symmetric image on . The direction from the y-axis towards the half-plane containing this fixed point is considered as the positive x-direction. All the robots agree upon this agreement.
- 2.
- , i.e., F is symmetric about the y-axis, but is asymmetric about the y-axis. The robots consider the following cases:
- (a)
- The configuration is unbalanced. The direction from the y-axis, towards the half-plane containing the maximum number of robots, is considered as the positive x-direction. All the robots agree upon this agreement.
- (b)
- The configuration is balanced and all the fixed points in one of the half-planes are either saturated or oversaturated. In this case the robots consider the positive x-direction towards the half-plane in which all the fixed points are either saturated or oversaturated.
- (c)
- The configuration is balanced with at least one unsaturated fixed point in both the half-planes and . The robots do not make an agreement on the direction of positive x-axis. The robots decide to transform the configuration into an unbalanced configuration. Let r be the topmost robot on the y-axis. Define . Suppose p denotes the point on the y-axis, which is at distance above from topmost horizontal line . If the position of r is below p, then it moves towards p along the y-axis. Otherwise, r is moved to one of the half-planes to a point at from the y-axis. This upward movement is required to avoid any collision, which might arise due to the inherent motion of r in a half-plane for some .
- (d)
- The configuration is balanced with at least one unsaturated fixed point in both the half-planes and . The robots consider the following cases:
- i.
- k is odd and . Note that in this case, the configuration has an even number of fixed points. The direction from the y-axis towards the half-plane in which there has been more progress is considered as the positive x-axis direction. It is possible that initially there has been the same progress in both the half-planes. Since is asymmetric, there must be one asymmetric robot position about the y-axis. The positive x-direction is considered towards the half-plane that contains the asymmetric robot position, which has the highest configuration rank. All the robots agree upon this agreement.
- ii.
- Otherwise, the robots do not agree upon the direction of positive x-axis direction. This case includes the configurations in which (i) k is even and , (ii) k is even and , and (iii) k is odd and . Notice that a configuration in this case might become symmetric with . Since the robots are oblivious, they would identify the configuration to be in or , in which they cannot make an agreement on the direction of positive x-axis. This decision of not to agree upon the direction of positive x-axis direction would ensure that the robots follow the same strategy in both symmetric and asymmetric cases.
- 3.
- , i.e., is symmetric about the y-axis and . Since is symmetric about the y-axis, the configuration is balanced. The robots decide to transform the configuration into an unbalanced configuration. The robots follow the same strategy as described in the case of a balanced configuration with at least one unsaturated fixed point in both the half-planes and (case 2(c)).
- 4.
- , i.e., is symmetric about the y-axis, and and . Since ) is symmetric about the y-axis, the configuration is balanced. As there are no robot positions on the y-axis, the configuration cannot be transformed into an unbalanced configuration. The robots cannot have an agreement on the direction of positive x-axis direction in this case.
- 5.
- , i.e., is symmetric about the y-axis, and and . In this case, we have a balanced configuration. Since there are no robot positions on the y-axis, the configuration cannot be transformed into an unbalanced configuration. Note that k is an even integer in this case. Otherwise, the k-circle formation problem is unsolvable. The robots cannot have an agreement on the direction of positive x-axis direction in this case.
4.2. Target FP Selection
This is the algorithm by which the robots select a target fixed point for the k-circle formation. The robots consider the following cases:
- 1.
- Robots have an agreement on the positive direction of the x-axis. Among the unsaturated fixed points, let be the one, which has the highest configuration rank. The robots select as the target fixed point.
- 2.
- Robots do not have an agreement on the positive direction of the x-axis. The robots consider the following cases:
- (a)
- All the fixed points in are saturated. Among the unsaturated fixed points in , let be the topmost one. The robots select as the target fixed point.
- (b)
- There exists an unsaturated fixed point in . If all the fixed points in one of the half-planes delimited by the y-axis are saturated or oversaturated, then the robots shall have an agreement on the positive direction of the x-axis. So assume that unsaturated fixed points are present in both the half-planes. In this case, the robots select two target fixed points, one from each of the half-planes. Let and be the unsaturated fixed points, which have the highest configuration rank in their respective half-planes. The robots select and as the target fixed points. Note that and may be symmetric images of each other.
4.3. Candidate R Selection
This is the algorithm by which the robots select a candidate robot for a target fixed point. Let be the target fixed point. The robots consider the following cases:
- 1.
- There exists a robot position which lies within distance from . Let be the closest robot from . The robots select as the candidate robot for . If there are multiple such robots, then the robots select the one which has the highest configuration rank.
- 2.
- There does not exist a robot position which lies within distance from . Let be the closest robot from , which does not lie on a saturated circle. The robots select as the candidate robot for . If there are multiple such robots, then the robots select the one, which has the highest configuration rank. Note that might lie on an oversaturated circle.
Note that, if lies on the y-axis, and does not have an agreement on the x-axis, then there may be two robots (say and ) having the same configuration rank, which are closest from (case 2) or closest from (case 1). In case, the configuration is asymmetric, let be a robot position, which does not have a symmetric image about the y-axis. If there are multiple such robots, then the robots select the one, which has the highest configuration rank. The candidate robot is selected, from the half-plane, which contains . Otherwise, both and , are selected as the candidate robots. In case, lies in a half-plane and does not have an agreement on the x-axis, then the candidate robot is selected from the same half-plane in which it belongs.
4.4. Moveto Destination
This is the algorithm by which a candidate robot computes its destination point on the circle centered at its target fixed point and the movement path P along which it will move towards its destination point. The pseudocode of this algorithm is given in Algorithm 1. Let denote the intersection point between and . During its movement towards the circle centered at its target fixed point , a candidate robot must avoid collision with the other robots. In order to ensure collision-free movement, a candidate robot considers the following cases:
| Algorithm 1: |
![]() |
- 1.
- and does not cut any saturated circle. If is not a robot position, then selects and (Figure 3a). Next, consider the case when is a robot position and there are no other robot positions on other than those collinear with and . In this case, selects one of the tangent lines to from its position (say ) as its movement path. Let intersect at q. In this case q cannot be a robot position. Since is a candidate robot, the line segement cannot possibly contain any robot positions other than . It selects and (Figure 3b). Otherwise, among the robot positions on which are not collinear with and , let be the robot such that the angle is smallest. Let be the angle bisector such that . Note that intersects at exactly two points. Between these two points, let be the closest point from . By the choice of , cannot be a robot position. Furthermore, since is a candidate robot, the line segment cannot possibly contain any robot positions other than . It selects and (Figure 4).
Figure 3. (a) and . (b) is the robot position on . and , where q is the point of intersection between and .
Figure 4. is the angle bisector of . It intersects at and . In this case, selects and . - 2.
- and cuts some saturated circle. Let be the first saturated circle, which cuts while moving along . Notice that would intersect at two points. Consider q to be the intersection point between and , which is at the closest distance from . Since is a candidate robot, the line segment (excluding point q) cannot possibly contain any robot positions other than . However, since q is a point on , it may be a robot position. If q is not a robot position, then selects and (Figure 5). Otherwise, let (not collinear with and ) be the robot on such that angle between and is the smallest. Since is saturated, such a robot position always exists on it. Let be the angle bisector, such that . Note that intersects at exactly two points. Between these two points, let be the closest point from . By the choice of , cannot be a robot position. Furthermore, since is a candidate robot cannot possibly contain any robot positions other than . Robot selects and (Figure 6). Note that the choice of ensures that always moves towards .
Figure 5. and , where q is the point of intersection between and .
Figure 6. is the angle bisector of . It intersects at and . In this case, selects and . - 3.
- . Let be the line segment from to , passing through . Let q be the intersection point between and . Since is a candidate robot, the line segment (excluding point q) cannot possibly contain any robot positions other than . However, since q is a point on , it may be a robot position. If q is not a robot position, then selects and (Figure 7a). Next, consider the case when q is a robot position and does not contain any robot positions other than being collinear with and . Let be the ray starting from such that (Figure 7b). Suppose intersects at . The candidate robot selects and . Otherwise, let (not collinear with and ) be the robot position on such that is the smallest. Let be the ray starting from such that . Suppose is the intersection point between and . The candidate robot selects and (Figure 7c).
Figure 7. (a) and , where q is the intersection point between and . (b) . is the ray starting from such that . and , where is the intersection point between and . (c) . is the ray starting from such that . and , where is the intersection point between and .
In case there are exactly two candidate robots, which lie in different half-planes, each of them computes its destination point and movement path in such a way that, during its movement, it does not cross the y-axis. For example, consider the case when the target fixed point lies on the y-axis. A candidate robot will consider the tangent line and robot positions, which lie in its half-plane, while computing its destination point and movement path.
4.5. Algorithm One Axis
This is the proposed algorithm that solves the k-circle formation problem with one axis agreement. The pseudocode is given in Algorithm 2. Given a configuration , each active robot executes . During an execution of , if is not a final configuration, then an active robot (say ) executes algorithm . Next, considers the following cases:
| Algorithm 2: |
![]() |
- 1.
- The robots have an agreement on the positive direction of the x-axis. Robot executes . In this case there is a unique target fixed point. Let be the target fixed point. Next, identifies the candidate robot by executing . Let be the candidate robot selected for . If , then it executes .
- 2.
- The robots do not have any agreement on the positive direction of the x-axis. Robot considers the following cases:
- (a)
- All the fixed points in are saturated. Robot executes . In this case the unique target fixed point lies on the y-axis. Let be the target fixed point. Robot executes . Let be the candidate robot. Note that there may be two candidate robots for . In that case, suppose is the candidate robot, that lies in the same half-plane containing . If , then it executes .
- (b)
- There exists an unsaturated fixed point in . Note that such unsaturated fixed points are present in both the half-planes. Otherwise the robots would have an agreement on the positive direction of the x-axis. Robot executes . In this case there are two target fixed points, one from each of the half-planes. Let and be the two target fixed points. Without loss of generality, assume that and lie in the same half-plane. Next, executes . Let be the candidate robot selected for . If , then it executes sub-procedure .
5. Correctness
Lemma 1.
Given a configuration for some , if the robots agree upon the positive direction of the x-axis, by the execution of , then the agreement remains invariant at any arbitrary point of time .
Proof of Lemma 1.
Let the robots agree upon the positive direction of the x-axis, by the execution of . Consider the following cases:
- Case 1., i.e., F is asymmetric about the y-axis. Since this agreement is w.r.t. the fixed points, it remains invariant for any .
- Case 2. and is unbalanced. In this case, the agreement on the direction of the positive x-axis is based upon robot positions. If the robots move across the y-axis from the negative side to the positive side, then the agreement does not change as the positive side of the y-axis would still contain the maximum number of robots. During an execution of , the unsaturated fixed points with a higher configuration rank are given preference over the unsaturated fixed points with a lower configuration rank. As a result, the robots move across the y-axis from the positive side to the negative side, only when all the fixed points on the positive side of the y-axis are either saturated or oversaturated. Due to this movement, the configuration would transform into a balanced configuration. Next, case 3 would follow.
- Case 3. is a balanced configuration and all the fixed points in one of the half-planes are either saturated or oversaturated. Notice that a candidate robot, selected by the execution of , would never lie on a saturated circle. As a result, once a circle becomes saturated, it would never become unsaturated. Thus, all the fixed points on the positive side of the y-axis would never become unsaturated. This implies that at any the agreement on the positive direction of the x-axis remains invariant.
- Case 4. is a balanced configuration with at least one unsaturated fixed point in both the half-planes. Furthermore, k is odd and . In this case, the positive x-axis direction is considered towards the half-plane in which there has been more progress at time t. During an execution of , the unsaturated fixed points with higher configuration rank are given preference over the unsaturated fixed points with lower configuration rank. As a result, it is guaranteed to have more progress in the positive side of the y-axis for any . Therefore, for any the agreement on the positive direction of the x-axis remains invariant. In case , it might be possible that both the half-planes have the same progress. Since is asymmetric about the y-axis in this case, there exists at least one robot asymmetric robot position. The positive x-axis direction is considered towards the half-plane, which contains the asymmetric robot with the highest configuration rank. For any , either or it is guaranteed to have more progress in the positive side of the y-axis. Therefore, the agreement on the positive direction of the x-axis remains invariant.
Hence, if the robots agree upon the positive direction of the x-axis by the execution of , then at any arbitrary point of time the agreement remains invariant. □
Next, we consider the balanced configurations in which the robots make an agreement on the positive direction of the x-axis at some . Lemma 1 ensures that the agreement remains invariant for any . Note that, at any arbitrary point of time , the robots have selected two target fixed points, one from each of the half-planes. Since the scheduler is assumed to be asynchronous, it is possible to have a candidate robot on the negative side of the y-axis, selected at some and which has not reached its destination point at . We need to ensure that there would not be any collision due to the inherent motion of such a candidate robot.
Lemma 2.
Let for some , be the configuration in which the robots make an agreement on the positive direction of the x-axis. Let be the candidate robot on the negative side of the y-axis, that was selected for some target fixed point at . If is the point of time at which it re-computes its destination point, then it does not collide with any other candidate robots in the time interval .
Proof of Lemma 2.
Let be the target fixed point at some . Since the robots have agreement on the positive direction of the x-axis, a unique candidate robot would be selected by the execution of . Let be the candidate robot. Note that, , i.e., the configuration rank of cannot be higher than . Otherwise, would have been selected as the target fixed point. Consider the following cases:
- Case 1.. In this case . This is because is the candidate robot that was selected for at and has not reached . It would remain as the closest robot position from , that does not lie on a saturated circle. Since would be the unique robot which is in motion within distance from , there would not be any collision of robots.
- Case 2. So we assume that . The movement paths of and would not intersect. Otherwise, by triangle inequality would have been at closer distance from . So would have selected as the candidate robot for by the execution . Since the movement paths do not intersect, would not collide with during the time interval . Since the scheduler is assumed to be asynchronous, it is possible that becomes the candidate robot for as in Figure 8. As the movement paths do not intersect, would continue its movement towards without collision unless it stops and re-computes its destination point. If it stops it will execute . It computes its movement path towards that does not intersect with the movement path of . As a result, it would continue its movement towards in subsequent time without any collision with .
Figure 8. Robot has moved from to . It becomes a candidate robot for at time .
Hence, would not collide with any other candidate robots in the time interval . □
Theorem 1 characterizes all the configurations and the values of k for which the k-circle formation problem is deterministically unsolvable. For some , if the k-circle formation problem is deterministically solvable for a given , the robots can identify it in its look phase. The robots must ensure that such configurations would not transform into an configuration that would satisfy the unsolvability criterion (Theorem 1) for any during an execution of .
Lemma 3.
Given and , if the k-circle formation problem is deterministically solvable, then at any arbitrary point of time the configuration would not satisfy the unsolvability criterion (Theorem 1).
Proof of Lemma 3.
Since the k-circle formation problem is deterministically solvable for every even value of k, we assume that k is odd. Note that all the initial configurations, in which F is asymmetric about the y-axis or in which , would never satisfy the unsolvability criterion stated in Theorem 1. So we only need to consider all the initial configurations in which F is symmetric about the y-axis and . So, . Furthermore, (Otherwise, initially it would have been unsolvable). Therefore, . We have the following cases:
- Case 1. The robots make an agreement on the positive direction of x-axis, which remains invariant for any (Lemma 1). Since the agreement remains invariant, even if the configuration becomes symmetric about the y-axis, the configuration will not satisfy the unsolvability criterion stated in Theorem 1 for any .
- Case 2. The robots decide to transform into an unbalanced configuration, in order to make an agreement on the positive direction of x-axis. This includes the following configurations:
- 1.
- .
- 2.
- and it is balanced with at least one unsaturated fixed point in both the half-planes and .
Let be earliest possible point of time at which it becomes unbalanced. In the time interval 0 to , only the topmost robot on the y-axis would move along the y-axis. As a result, the configuration would not satisfy the unsolvability criterion (Theorem 1) for any . At , the robots make an agreement on the positive direction of x-axis. Next, the proof follows from case 1.
Therefore, would not transform into an unsolvable configuration at any arbitrary point of time . □
Given a configuration , let denote the number of unsaturated fixed points. The robots may select one or two target fixed points. First, consider the case when the target fixed point is unique. Suppose, is the target fixed point and its candidate robot selected by the robots. Let P and be the movement path and destination point, respectively, computed by at time t, by the execution of . Consider a straight line along P towards intersecting the circle first at (The line would always intersect ) at time t. Suppose denotes the distance between and . Let denote the deficit in the number of robots in order to make a saturated fixed point. Let .
We say that there has been significant progress in the time interval t to if , i.e., one of the following conditions holds:
- 1.
- , or
- 2.
- and , or
- 3.
- and and .
Lemma 4.
Let be an arbitrary point of time before reaches its destination computed at time t. During an execution of , execution of ensures that .
Proof of Lemma 4.
Let P and be the selected movement paths for at time t and , respectively. We have and . Note that implies that the destination point lies on . Consider the following cases:
- Case 1. and does not contain any robot position. This is the case where the robot moves straight towards , i.e., and the destination point lies on (Step 25 of Algorithm 1). At time there would not be any robot on and would continue along the same path. Since is the minimum displacement in a round, . Recall that denotes the intersection point between and . The movements are shown in Figure 9.
Figure 9. Robot has moved from to , along towards computed at time t. Robot selects and at time . In this case, . Furthermore, and , i.e., the destination point lies on . - Case 2. and contains a robot position. There are robot positions on , that are not collinear with and . By step 36 of Algorithm 1 robot computes the movement path P and destination point . It starts moving towards along P. At time , let be the intersection point between and . Note that, is not a robot position. Robot selects and . We have and . This implies that . The movements are shown in Figure 10.
Figure 10. Robot has moved from to , along P towards computed at time t. Robot selects and at time . Furthermore, and , i.e., the destination point lies on . - Case 3. and contains a robot position. There are no robots on , other than being collinear with and . By step 30 of Algorithm 1 robot computes the movement path P and destination point . This case is similar to case 2. The movements are shown in Figure 11.
Figure 11. Robot has moved from to , along towards computed at time t (q is the point of intersection between and ). Robot selects and at time . Furthermore, and , i.e., the destination point lies on . - Case 4.. In this case lies on a saturated circle for some . Note that, is the first circle, that cuts while moving along . First, consider the case in which and (Step 43 of Algorithm 1), where q is intersection point between and , which is at closest distance from . Since is the minimum displacement in a round, . The movements are shown in (Figure 12). Next, consider the case in which computes its movement path P by step 49 of Algorithm 1. It starts moving towards along path P. At time , let be the intersection point between and . Note that is not a robot position. Robot selects and (Figure 13). We have and . This implies that .
Figure 12. is a saturated circle and q is the point of intersection between and , which is at closest distance from . Robot has moved from to , along towards computed at time t. Robot selects and on at time . In this case, . Furthermore, and , i.e., the destination point does not lie on .
Figure 13. Robot has moved from to , along towards computed at time t. Robot selects and ( is the point of intersection between and ) on at time - Case 5.. We have . Let q be the intersection point between and . First, consider the case when selects and (Step 5 of Algorithm 1). At time , there would not be any robot position on . Robot selects . Since is the minimum displacement in a round, . Movements are shown in Figure 14a. Next, consider the case in which selects its movement path P by step 11 or step 17 of Algorithm 1. We have and . Hence, . Movements are shown in Figure 14b,c.
Figure 14. (a) Robot has moved from to along towards (q is the point of intersection between and ). It selects and . (b) At time t, selects and . It selects and . (c) At time t, selects and . It selects and .
Hence, execution of ensures . □
Lemma 5.
Let be the target fixed point and its candidate robot in the configuration . During an execution of , execution of ensures significant progress.
Proof of Lemma 5.
Let compute movement path P and destination point by the execution of at time t. Let be an arbitrary point of time at which has completed at least one LCM cycle. We need to show that there has been significant progress in between the time interval t to . We have the following cases:
- Case 1. and is on the . We have the following two sub-cases:
- Subcase 1. If has exactly k robots on it, then , ensuring significant progress.
- Subcase 2. If has less than k robots on it, then , ensuring significant progress.
- Case 2. and is not on any oversaturated . In this case by Lemma 4, which ensures significant progress.
- Case 3. and is on an oversaturated . Since at this stage, a candidate robot for will be selected again, algorithm will select a robot such that . Either or . By Lemma 4, significant progress is ensured, in both the cases.
Hence, execution of ensures significant progress. □
Lemma 6.
Let be a target fixed point and its unique selected candidate robot at time t. Until reaches its destination point computed at time t, it remains the candidate robot for .
Proof of Lemma 6.
Let compute its movement path P and destination point by the execution of . Note that, is either a point on the circle or on some saturated circle . Let be an arbitrary point of time such that . At time , remains an unsaturated fixed point. As a result, remains a target fixed point at time . Lemma 4 guarantees that has moved at least amount closer to . Therefore, it remains the candidate robot for . □
Next, we consider the case when there are two candidate robots for a target fixed point. Since robots have an agreement on the directions and orientations of the y-axis, there can be at most two candidate robots at any point of time. Note that, in this case, the configuration would have a unique target fixed point, that lies on the y-axis.
Lemma 7.
Let be the target fixed point and and are the two selected candidate robots for at time t. Until at least one of them reaches its destination point computed at time t, no other robot becomes a candidate robot. If one of the candidate robots have reached its destination point and the other one has not, then the other robot either continues its inherent motion towards its destination point (computed at time t) without any collision or gets selected as a candidate robot only when reduces by one.
Proof of Lemma 7.
Let be an arbitrary point of time when at least one of the candidate robots has completed its LCM cycle. Without loss of generality, assume that has completed its LCM cycle at . Let be the destination point and P be the movement path computed for by . Note that is a point either on the or on some saturated . We have the following cases:
- Case 1. is a point on the circle . We have the following subcases:
- Subcase 1.. Since has reached its destination, the first part of the lemma follows. We have . At , if has also completed its LCM cycle and has not reached its destination point, then it becomes the next candidate robot for . If is in motion, then being the only robot in motion within the annulus region between and , it continues its motion without any collision. Note that, in this case, no other robot will be selected for movement until reaches its destination.
- Subcase 2.. First consider that , i.e., robot is closer to than . At , either has also completed its LCM cycle and has not reached its destination point or is in motion. In both the cases, remains a candidate robot for . The first part of the lemma follows for . Robot will be selected as a candidate robot when will reach . Next consider that , i.e., robot is closer to than . Robot will be selected as a candidate robot. At , if has also completed its LCM cycle, then it will become the candidate robot when will reach . If is in motion, then it continues its motion without any collision (As destination point and movement path computed by and , respectively are separated by the y-axis and there are no other robots in the half-plane containing , which is in motion within the annulus region between and ). We have two possible cases. First, will also reach . Second, if it stops before reaching , then it will become a candidate robot only when will reach .
- Case 2. is a point on some saturated circle . We have the following cases:
- Subcase 1.. Since has reached its destination, the first part of the lemma follows. At , since contains robots, the next candidate robot for will be selected from . Note that, this robot position would have higher y-coordinate than . If has also completed its LCM cycle and has not reached its destination point, then it will become a candidate robot for only when for some . If is in motion, then it continues its motion without any collision (It is the only robot, which is in motion within the annulus region between and and below the point ).
- Subcase 2.. First consider that , i.e., robot is closer to than . At , either has also completed its LCM cycle and has not reached its destination point or is in motion. In both cases, remains a candidate robot for . The first part of the lemma follows for . Robot will be selected as a candidate robot only when reduces by one. Next consider that , i.e., robot is closer to than . Robot will be selected as a candidate robot. At , if has also completed its LCM cycle and has not reached its destination point, then it will become a candidate robot only when reduces by one. If is in motion, then it continues its motion without any collision (As destination point and path computed by and , respectively, are separated by the y-axis and there are no other robots in motion within the annulus region between and and below the point ). We have two possible cases. First, will also reach . Second, if it stops before reaching , then it will become a candidate robot only when reduces by one.
□
Next, we consider the case when there are two target fixed points, one from each half-plane. Let and be the target fixed points at time t. Let and be their respective candidate robots. We have and .
Lemma 8.
Let admit two target fixed points during an execution of and be an arbitrary point of time when at least one candidate robot has completed its LCM cycle. For at least one target fixed point and its candidate robot, .
Proof of Lemma 8.
Each target fixed point is unique in their respective half-planes. Execution of ensures that for each target fixed point, its candidate robot is selected from its respective half-planes. The circle formation process continues independently in both the half-planes. This implies that for each , is updated only due to the movement of ’s candidate robot. Without loss of generality, suppose candidate robot of the target fixed point has completed its LCM cycle. By Lemma 4, is ensured. □
Lemma 9.
Let admit two target fixed points during an execution of and be an arbitrary point of time when at least one candidate robot has completed its LCM cycle. Execution of ensures significant progress.
Proof of Lemma 9.
Lemma 8 ensures that for at least one target fixed point and its candidate robot, holds. Without loss of generality, assume that for the target fixed point we have in the time interval t to . By Lemma 5, we have , i.e., significant progress is ensured. □
Theorem 2.
If the initial configuration and does not satisfy the unsolvability criterion stated in Theorem 1, then the robots would eventually solve the k-circle formation problem under one axis agreement, by the execution of .
Proof of Theorem 2.
Lemma 3 guarantees that for any , the configuration would not satisfy the unsolvability criterion stated in Theorem 1. We have the following cases:
- Case 1. There is a unique target fixed point (say ) in the configuration. Lemma 5 ensures that each time a candidate robot gets activated, significant progress is ensured. If there is a unique candidate robot for , then Lemma 6 guarantees that until the candidate robot reaches its destination, it would remain the candidate robot. In case there are two candidate robots for , then Lemma 7 guarantees that until one of the candidate robots reaches its destination point, no other robot will become a candidate robot. As a result, one of the candidate robots will reach its destination point eventually. If the other candidate robot does not reach its destination point, then it becomes a candidate robot for when reduces by one. Thus, the circle formation process around all the fixed points will be completed eventually.
- Case 2. There are two target fixed points. Note that the target fixed points lie in different half-planes delimited by the y-axis. Lemma 9 ensures significant progress. Lemma 6 guarantees that until a candidate robot reaches its destination, it remains the candidate robot. Note that in this case for each of the target fixed points, always a unique candidate robot gets selected. Thus, the circle formation process around all the fixed points will be completed eventually.
Hence, the robots would eventually solve the k-circle formation problem with one axis agreement. □
From Theorem 2, it follows that the robots would solve the k-circle formation problem under one axis agreement within finite time. Since we have considered the scheduler to be asynchronous, the robots do not have any common notion of time. As a result, the actual time to solve the k-circle formation problem depends upon the scheduling of the robots. We use the notion of an epoch [30] to discuss the runtime complexity of our proposed algorithm. An epoch is the time interval in which all the robots in the configuration have performed their LCM cycles at least once. According to this definition, the time is divided into global epochs. We also assume that the robots have rigid motion, i.e., the robot is guaranteed to reach its destination whenever it moves. In such a setting, we have the following observations:
- 1.
- If a candidate robot does not have to pass through a saturated circle in order to reach the circle centered at its target fixed point, then it would reach the circle within one epoch.
- 2.
- If a candidate robot has to pass through a saturated circle in order to reach the circle centered at its target fixed point, then it would reach the circle in at most three epochs. This is because the movement path would intersect the saturated circle either one or two times.
From the above two observations, it follows that a candidate robot would reach the circle centered at its target fixed point within epochs. This is because, it might have to pass through number of saturated circles. Since is sequential, each target fixed point would need at most epochs to become saturated. Therefore, the k-circle formation problem would be solved within epochs. This is a loose upper bound on the running time of in terms of epochs.
6. Relationship between the k-Circle Formation Problem and the k-epf Problem
Given fixed points and km robots for some positive integer k, the k-epf problem asks exactly k robots to reach and remain in each fixed point. Since the definition of the k-circle formation problem asks for distinct robot positions, we only consider the initial configurations with distinct robot positions. We want to prove the following theorem.
Theorem 3.
For a given initial configuration with distinct robot positions and a positive integer k, if the k-circle formation problem is deterministically solvable then the k-epf problem is also deterministically solvable.
In order to prove the above theorem, we modify the proposed algorithm , to solve the k-epf problem deterministically within finite time.
Algorithm for the k-epf Problem
Let be the given initial configuration. Suppose the k-circle formation problem has been solved in , for some , with radius , by the execution of . In order to solve the k-epf problem, the robots must reach the fixed points. The robots can accomplish this by moving in a straight line towards the fixed point. Since the robots are oblivious, they do not remember any information about the past events. Therefore, if any robot stops before reaching the fixed point for some , it would not remember that the k-circle formation problem has already been solved. As a result, it will again start executing . In order to resolve such a situation, consider the following definition. A configuration is said to satisfy Property 1, if the following conditions hold:
- 1.
- Each robot lies within distance from some fixed point.
- 2.
- For each , there are at most k robots, which lie within distance from .
Given a configuration which satisfies Property 1, let be an algorithm as follows:
- 1.
- If there exists a robot such that for some , then moves along towards .
Define algorithm as follows:
- 1.
- If the current configuration satisfies Property 1, then execute .
- 2.
- Else the robots execute .
During an execution of , it must be ensured that none of the robots have any inherent motion, which is not directed towards the fixed point. Since all the robots are stationary in the initial configuration, if satisfies Property 1, then none of the robots would have any inherent motion.
Lemma 10.
During an execution of if is the earliest possible point of time at which the configuration satisfies Property 1, then none of the robots would have any inherent motion in .
Proof of Lemma 10.
Since satisfies Property 1, each robot lies within distance from some fixed point. Furthermore, notice that there are no oversaturated circles in . Let be the target fixed point which became saturated at time t due to the movement of a candidate robot (say ). Notice that if lies on the y-axis and the configuration is symmetric, there would be two such candidate robots. In that case, we assume that both of them reached at time t. Otherwise, the configuration cannot possibly satisfy Property 1. Suppose became a candidate robot at some time by the execution of . Note that in the time interval , the distance of from was greater than . Otherwise, the choice of t is wrong. If there were two candidate robots for , then this is true for both the candidate robots. Furthermore, at time there were no robot position (say ) such that . Otherwise, would have been selected as a candidate robot. Notice that the candidate robot(s) was the only robot which was moving towards . Therefore, all the robots on are static at t. Next, consider a fixed point such that has higher configuration rank than . All the robots within distance from must lie on . This is because, during an execution of for a fixed point, a robot within distance from that fixed point is given higher preference than any robot at greater than distance from that fixed point. Since is not oversaturated, all the robots are static at time t. Next, consider a fixed point such that has lower configuration rank than . By the choice of and , none of the robots within distance from were selected as a candidate robot. Therefore, all the robots within distance from are static at time t. Hence, if the configuration satisfies Property 1, then none of the robots have any inherent motion in . □
Theorem 4.
If the initial configuration and does not satisfy the unsolvability criterion stated in Theorem 1, then the robots would eventually solve the k-epf problem under one axis agreement, by the execution of algorithm .
Proof of Theorem 4.
First, consider the case when the configuration does not satisfy Property 1. The robots would start executing . From Theorem 2, it follows that the configuration would eventually satisfy Property 1. Next, consider the case when the configuration satisfies Property 1. From Lemma 10, it follows that all the robots would be static in such a configuration. The robots would start executing . During an execution of , each robot moves in a straight line by at least distance, towards the fixed point from which it is at the closest distance. Since is finite and there are finitely many robots, eventually each of the fixed points will contain exactly k robots.
Hence, the robots would eventually solve the k-epf problem by the execution of algorithm . □
The above theorem provides an evidence that a deterministic distributed algorithm to solve the k-circle formation problem can be modified to solve the k-epf problem and proves Theorem 3. Notice that during an execution of algorithm , the robots are only allowed to create a multiplicity on the fixed points. Therefore, the existence of a deterministic distributed algorithm which solves the k-epf problem, without allowing a robot multiplicity point outside the fixed points, is guaranteed by Theorem 3.
7. Conclusions
This paper studies the k-circle formation problem by asynchronous, autonomous, anonymous and oblivious robots in the Euclidean plane. The problem is investigated in a setting where the robots have an agreement on the direction and orientation of the y-axis. The following three main results have been proved:
- 1.
- If the initial configuration is symmetric about the y-axis such that (there are fixed points on the y-axis) and (there are no robot positions on the the y-axis), then the k-circle formation problem is deterministically unsolvable for odd values of k. This is the complete set of the initial configurations and values of k for which the k-circle formation problem is deterministically unsolvable under this setting.
- 2.
- For the rest of the configurations and the values of k, a deterministic distributed algorithm has been proposed under one axis agreement.
- 3.
- It has also been shown that if the k-circle formation problem is deterministically solvable then the k-epf problem is also deterministically solvable. This has been established by modifying ; the modified algorithm deterministically solves the k-epf problem.
Future work: The assumption of agreement on the y-axis has a strong influence on the results. The natural follow up work would be to consider the problem without this assumption. It is expected that the set of unsolvable initial configurations would increase significantly. Another direction of future work would be to consider the problem with different radii for the circles. The problem can also be considered with two different objectives: (i) minimize the total distance traveled by all the robots; (ii) minimize the maximum distance traveled by a single robot. It is to be noted that there is no guarantee that the problems are solvable with these objectives. Another significant assumption used in this paper is unlimited visibility. This problem can be considered for different visibility models namely limited visibility, i.e., a robot can observe the plane up to a fixed radius around it and obstructed visibility, i.e., the robots block each other’s vision.
Author Contributions
Conceptualization, All authors; methodology, All authors; software, All authors; validation, All authors; formal analysis, All authors; investigation, All authors; resources, All authors; data curation, All authors; writing—original draft preparation, All authors; writing—review and editing, All authors; visualization, All authors; supervision, K.M.; project administration, All authors; funding acquisition, All authors. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Informed Consent Statement
Not applicable.
Data Availability Statement
Not applicable.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Cohen, R.; Peleg, D. Convergence properties of the gravitational algorithm in asynchronous robot systems. SIAM J. Comput. 2005, 34, 1516–1528. [Google Scholar] [CrossRef]
- Bouzid, Z.; Das, S.; Tixeuil, S. Gathering of mobile robots tolerating multiple crash faults. In Proceedings of the 2013 IEEE 33rd International Conference on Distributed Computing Systems, Philadelphia, PA, USA, 8–11 July 2013; pp. 337–346. [Google Scholar]
- Défago, X.; Gradinariu, M.; Messika, S.; Raipin-Parvédy, P. Fault-tolerant and self-stabilizing mobile robots gathering. In Proceedings of the 20th International Symposium on Distributed Computing, Stockholm, Sweden, 18–20 September 2006; Springer: Berlin/Heidelberg, Germany, 2006; pp. 46–60. [Google Scholar]
- Flocchini, P.; Santoro, N.; Viglietta, G.; Yamashita, M. Rendezvous of two robots with constant memory. In Proceedings of the International Colloquium on Structural Information and Communication Complexity, Ischia, Italy, 1–3 July 2013; Springer: Berlin/Heidelberg, Germany, 2013; pp. 189–200. [Google Scholar]
- Cohen, R.; Peleg, D. Convergence of autonomous mobile robots with inaccurate sensors and movements. SIAM J. Comput. 2008, 38, 276–302. [Google Scholar] [CrossRef]
- Cieliebak, M.; Flocchini, P.; Prencipe, G.; Santoro, N. Distributed computing by mobile robots: Gathering. SIAM J. Comput. 2012, 41, 829–879. [Google Scholar] [CrossRef]
- Cieliebak, M.; Prencipe, G. Gathering Autonomous Mobile Robots. In Proceedings of the 9th International Colloquium on Structural Information and Communication Complexity, Andros, Greece, 10–12 June 2002; Volume 9, pp. 57–72. [Google Scholar]
- Agmon, N.; Peleg, D. Fault-tolerant gathering algorithms for autonomous mobile robots. SIAM J. Comput. 2006, 36, 56–82. [Google Scholar] [CrossRef]
- Bhagat, S.; Chaudhuri, S.G.; Mukhopadhyaya, K. Fault-tolerant gathering of asynchronous oblivious mobile robots under one-axis agreement. J. Discret. Algorithms 2016, 36, 50–62. [Google Scholar] [CrossRef]
- Suzuki, I.; Yamashita, M. Distributed anonymous mobile robots: Formation of geometric patterns. SIAM J. Comput. 1999, 28, 1347–1363. [Google Scholar] [CrossRef]
- Flocchini, P.; Prencipe, G.; Santoro, N.; Widmayer, P. Arbitrary pattern formation by asynchronous, anonymous, oblivious robots. Theor. Comput. Sci. 2008, 407, 412–447. [Google Scholar] [CrossRef]
- Fujinaga, N.; Yamauchi, Y.; Kijima, S.; Yamashita, M. Asynchronous pattern formation by anonymous oblivious mobile robots. In Proceedings of the International Symposium on Distributed Computing, Salvador, Brazil, 16–18 October 2012; Springer: Berlin/Heidelberg, Germany, 2012; pp. 312–325. [Google Scholar]
- Cicerone, S.; Di Stefano, G.; Navarra, A. Asynchronous arbitrary pattern formation: The effects of a rigorous approach. Distrib. Comput. 2019, 32, 91–132. [Google Scholar] [CrossRef]
- Fujinaga, N.; Ono, H.; Kijima, S.; Yamashita, M. Pattern Formation through Optimum Matching by Oblivious CORDA Robots. In Proceedings of the Principles of Distributed Systems—14th International Conference, OPODIS 2010, Tozeur, Tunisia, 14–17 December 2010; pp. 1–15. [Google Scholar]
- Cicerone, S.; Di Stefano, G.; Navarra, A. Embedded pattern formation by asynchronous robots without chirality. Distrib. Comput. 2019, 32, 291–315. [Google Scholar] [CrossRef]
- Bhagat, S.; Mukhopadhyaya, K. Optimum circle formation by autonomous robots. In Advanced Computing and Systems for Security; Springer: Berlin/Heidelberg, Germany, 2018; pp. 153–165. [Google Scholar]
- Datta, S.; Dutta, A.; Chaudhuri, S.G.; Mukhopadhyaya, K. Circle Formation by Asynchronous Transparent Fat Robots. In Proceedings of the Distributed Computing and Internet Technology, 9th International Conference, ICDCIT 2013, Bhubaneswar, India, 5–8 February 2013; pp. 195–207. [Google Scholar]
- Défago, X.; Souissi, S. Non-uniform circle formation algorithm for oblivious mobile robots with convergence toward uniformity. Theor. Comput. Sci. 2008, 396, 97–112. [Google Scholar] [CrossRef]
- Dutta, A.; Chaudhuri, S.G.; Datta, S.; Mukhopadhyaya, K. Circle Formation by Asynchronous Fat Robots with Limited Visibility. In Proceedings of the 8th International Conference on Distributed Computing and Internet Technology (ICDCIT-2012), Bhubaneswar, India, 2–4 February 2012; pp. 83–93. [Google Scholar]
- Flocchini, P.; Prencipe, G.; Santoro, N.; Viglietta, G. Distributed computing by mobile robots: Uniform circle formation. Distrib. Comput. 2017, 30, 413–457. [Google Scholar] [CrossRef]
- Mondal, M.; Chaudhuri, S.G. Uniform Circle Formation by Swarm Robots Under Limited Visibility. In Proceedings of the International Conference on Distributed Computing and Internet Technology, Bhubaneswar, India, 9–12 January 2020; Springer: Berlin/Heidelberg, Germany, 2020; pp. 420–428. [Google Scholar]
- Cicerone, S.; Di Stefano, G.; Navarra, A. Gathering of robots on meeting-points: Feasibility and optimal resolution algorithms. Distrib. Comput. 2018, 31, 1–50. [Google Scholar] [CrossRef]
- Bhagat, S.; Chakraborty, A.; Das, B.; Mukhopadhyaya, K. Gathering over Meeting Nodes in Infinite Grid. In Proceedings of the Conference on Algorithms and Discrete Applied Mathematics, Hyderabad, India, 13–15 February 2020; Springer: Berlin/Heidelberg, Germany, 2020; pp. 318–330. [Google Scholar]
- Efrima, A.; Peleg, D. Distributed algorithms for partitioning a swarm of autonomous mobile robots. Theor. Comput. Sci. 2009, 410, 1355–1368. [Google Scholar] [CrossRef][Green Version]
- Bose, K.; Kundu, M.K.; Adhikary, R.; Sau, B. Arbitrary pattern formation by asynchronous opaque robots with lights. Theor. Comput. Sci. 2021, 849, 138–158. [Google Scholar] [CrossRef]
- Bose, K.; Adhikary, R.; Kundu, M.K.; Sau, B. Arbitrary pattern formation on infinite grid by asynchronous oblivious robots. Theor. Comput. Sci. 2020, 815, 213–227. [Google Scholar] [CrossRef]
- Défago, X.; Konagaya, A. Circle formation for oblivious anonymous mobile robots with no common sense of orientation. In Proceedings of the Second ACM International Workshop on Principles of Mobile Computing, Toulouse, France, 30–31 October 2002; pp. 97–104. [Google Scholar]
- Feletti, C.; Mereghetti, C.; Palano, B. Uniform Circle Formation for Swarms of Opaque Robots with Lights. In Proceedings of the Stabilization, Safety, and Security of Distributed Systems, Tokyo, Japan, 4–7 November 2018; Springer: Berlin/Heidelberg, Germany, 2018; pp. 317–332. [Google Scholar]
- Liu, Z.; Yamauchi, Y.; Kijima, S.; Yamashita, M. Team assembling problem for asynchronous heterogeneous mobile robots. Theor. Comput. Sci. 2018, 721, 27–41. [Google Scholar] [CrossRef]
- Cord-Landwehr, A.; Degener, B.; Fischer, M.; Hüllmann, M.; Kempkes, B.; Klaas, A.; Kling, P.; Kurras, S.; Märtens, M.; auf der Heide, F.M.; et al. A new approach for analyzing convergence algorithms for mobile robots. In Proceedings of the International Colloquium on Automata, Languages, and Programming, Zürich, Switzerland, 4–8 July 2011; Springer: Berlin/Heidelberg, Germany, 2011; pp. 650–661. [Google Scholar]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).

