Deterministic Pattern Formation in Swarms of Robots
Franck Petit
Problem
Definition (Arbitrary Pattern Formation)
Given a swarm ofnrobots scat- tered on the plan, designing a deterministic algorithm so that, the robots eventually form a pat- ternP made of n positions and known by each of them in ad- vance.
Problem
Definition (Arbitrary Pattern Formation)
Given a swarm ofnrobots scat- tered on the plan, designing a deterministic algorithm so that, the robots eventually form a pat- ternP made of n positions and known by each of them in ad- vance.
Problem
Definition (Arbitrary Pattern Formation)
Given a swarm ofnrobots scat- tered on the plan, designing a deterministic algorithm so that, the robots eventually form a pat- ternP made of n positions and known by each of them in ad- vance.
In other words, at the end of the computation, the positions of the robots coin- cide, with the positions ofP, wherePcan be translated, rotated, and scaled in each local coordinate system.
Previous Works
SoD and Chirality
[Flocchini et al., 1999]
A solution exists for any n and anyP.
SoD and No Chirality
[Flocchini et al., 2002]
Previous Works
SoD and Chirality
[Flocchini et al., 1999]
A solution exists for any n and anyP.
SoD and No Chirality
[Flocchini et al., 2002]
Previous Works
SoD and Chirality
[Flocchini et al., 1999]
A solution exists for any n and anyP.
SoD and No Chirality
[Flocchini et al., 2002]
Previous Works
SoD and Chirality
[Flocchini et al., 1999]
A solution exists for any n and anyP.
SoD and No Chirality
[Flocchini et al., 2002]
Ifnis odd, a solution exists for anyP.
Previous Works
SoD and Chirality
[Flocchini et al., 1999]
A solution exists for any n and anyP.
SoD and No Chirality
[Flocchini et al., 2002]
Ifnis odd, a solution exists for anyP.
If nis even, a solution exists provided thatPissymmetric.
Pattern Formation With No Sense of Direction
Question
Assuming no sense of direction (with or without chirality), which kind of patterns can be formed in adeterministicway?
Pattern Formation With No Sense of Direction
Theorem
[Flocchini et al., 2001]
If the robots shareno Sense of Direction, then they cannot solve the Arbitrary Pattern Formation problemdeterministically, even having the ability of chirality.
Pattern Formation With No Sense of Direction
Theorem
[Flocchini et al., 2001]
If the robots shareno Sense of Direction, then they cannot solve the Arbitrary Pattern Formation problemdeterministically, even having the ability of chirality.
x
δ δ
δ
δ δ δ
δ δ
y x
y
y
y
y y y
y
x
x
x x x x
Pattern Formation With No Sense of Direction
Theorem
[Flocchini et al., 2001]
If the robots shareno Sense of Direction, then they cannot solve the Arbitrary Pattern Formation problemdeterministically, even having the ability of chirality.
LetΘbe the class of patterns that can be solved
deterministicallyassuming robots devoid of sense of direction.
Corollary
Either Θis equal to the set of regular polygons (n-gons)
or Θ =∅.
Circle Formation
Question
Assuming no sense of direction, is it possible to eventually form a regularn-gon (circle)?
Circle Formation
Previous work
[D ´efago and Konagaya, 2002] [Chatzigiannakis et al., 2004] [D ´efago and Souissi, 2008]
Asymptotic convergencetoward then-gon.
Circle Formation
Previous work
[D ´efago and Konagaya, 2002] [Chatzigiannakis et al., 2004] [D ´efago and Souissi, 2008]
Asymptotic convergencetoward then-gon.
Circle Formation
Previous work
[D ´efago and Konagaya, 2002] [Chatzigiannakis et al., 2004] [D ´efago and Souissi, 2008]
Asymptotic convergencetoward then-gon.
[Dieudonn ´e and Petit, 2007]
Primenumber of robots.
Circle Formation
Previous work
[D ´efago and Konagaya, 2002] [Chatzigiannakis et al., 2004] [D ´efago and Souissi, 2008]
Asymptotic convergencetoward then-gon.
[Dieudonn ´e and Petit, 2007]
Primenumber of robots.
Circle Formation
Previous work
[D ´efago and Konagaya, 2002] [Chatzigiannakis et al., 2004] [D ´efago and Souissi, 2008]
Asymptotic convergencetoward then-gon.
[Dieudonn ´e and Petit, 2007]
Primenumber of robots.
[Katreniak, 2005]
Circle Formation
Previous work
[D ´efago and Konagaya, 2002] [Chatzigiannakis et al., 2004] [D ´efago and Souissi, 2008]
Asymptotic convergencetoward then-gon.
[Dieudonn ´e and Petit, 2007]
Primenumber of robots.
[Katreniak, 2005]
Circle Formation
All previous protocols are based on the two following steps:
1 Move the robots on (the boundary of) a circleC.
2 Without leavingC, arrange them evenly alongC.
Circle Formation
All previous protocols are based on the two following steps:
1 Move the robots on (the boundary of) a circleC.
2 Without leavingC, arrange them evenly alongC.
Circle Formation
All previous protocols are based on the two following steps:
1 Move the robots on (the boundary of) a circleC.
2 Without leavingC, arrange them evenly alongC.
δ
δ δ
δ
δ δ
Circle Formation
All previous protocols are based on the two following steps:
1 Move the robots on (the boundary of) a circleC.
EASY PART
2 Without leavingC, arrange them evenly alongC.
δ
δ δ
δ
δ
δ δ δ
Circle Formation
All previous protocols are based on the two following steps:
1 Move the robots on (the boundary of) a circleC.
EASY PART
2 Without leavingC, arrange them evenly alongC.
δ
δ δ
δ
δ δ
HARD PART
Circle Formation
Theorem
[Flocchini et al, 2006]
There existsno deterministic algorithm that eventually ar- range n robots evenly along a circleCwithout leavingC.
Circle Formation
Theorem
[Flocchini et al, 2006]
There existsno deterministic algorithm that eventually ar- range n robots evenly along a circleCwithout leavingC.
α α
α
α β
β
β β
δ
δ δ
δ
δ
δ δ δ
IMPOSSIBLE
Circle Formation
Theorem
[Flocchini et al, 2006]
There existsno deterministic algorithm that eventually ar- range n robots evenly along a circleCwithout leavingC.
α α
α
α β
β
β β
δ
δ δ
δ
δ
δ δ δ
IMPOSSIBLE
Question
Are we done,i.e.,Θ =∅?
Circle Formation
Theorem
[Flocchini et al, 2006]
There existsno deterministic algorithm that eventually ar- range n robots evenly along a circleCwithout leavingC.
α α
α
α β
β
β β
δ
δ δ
δ
δ
δ δ δ
IMPOSSIBLE
Question
Are we done,i.e.,Θ =∅?
Fortunately, not!
An almost n-gon algorithm
Arbitrary Configuration
Biangular Circle
Regular Polygon
[Katreniak, 2005]
Starting from a biangular circle
Theorem
[Flocchini et al, 2006]
There existsno deterministic algorithm that eventually arrange n robots evenly along a circleCwithout leavingC.
α α
α
α
β β
β β
δ
δ δ
δ
δ
δ δ δ
IMPOSSIBLE
Starting from a biangular circle
Let us leaveC
α α
β
α β
β
Starting from a biangular circle
Let us leaveC
α α
β
α β
β
Starting from a biangular circle
Let us leaveC
α α
β
α β
β
Starting from a biangular circle
Let us leaveC
α α
β
α β
β
Starting from a biangular circle
Let us leaveC Everyrobot is active
Regular Polygon
Starting from a biangular circle
Let us leaveC Everyrobot is active
Regular Polygon
Somerobots are active
Ideal Polygon
Starting from a biangular circle
Ideal Polygon
d
d
d
d
d d
2
3
4 5
0
1
Property 1
Eitherd0≥d1≤ · · · ≥dn−1≤d0
ord0≤d1≥ · · · ≤dn−1≥d0
Starting from a biangular circle
Ideal Polygon
Property 2
A regular n-gon can be associated to an Ideal Polygon.
Starting from a biangular circle
Ideal Polygon
Circle Formation
Arbitrary Configuration
Biangular Circle
Regular Polygon
Ideal Polygon
Circle Formation
α
α
β β
It works ifn≥5 only
1 [Katreniak 2005] works if n ≥ 5 only
2 Difficulty to find an invariant
(nR−P) Non−Rectangle Parallelogram
e
(nR−IT) Non−Rectangle Isosceles Trapezoid (AQ) Asymetric Quadrilateral
(nD−T) Non−Delta Triangle
q r s
t L’
L (nP−D) Non−Perpendicular Delta
q r s
t
L (P−D) Perpendicular Delta
(nP−R) Non−Perpendicular Rectangle
dmax O
(PQ) Perpendicular Quadrilateral
O
O
O
O (sL) The robots are aligned
L
Arbitrary Pattern Formation
0000 1111
etc...
Theorem
∀n, the class of patterns that can be solved deterministically assuming robots devoid of sense of direction (Θ) is equal to the set of regular polygons (n-gons).