• Aucun résultat trouvé

Leader Election in Swarms of Deterministic Robots

N/A
N/A
Protected

Academic year: 2022

Partager "Leader Election in Swarms of Deterministic Robots"

Copied!
52
0
0

Texte intégral

(1)

Mika ¨el Rabie & Franck Petit

LiP6, Sorbonne Universit ´e

(2)

00 11

Question

(3)

00 11

Question

(4)

SoD and Chirality

[Flocchini et al., 1999]

A solution exists for any n.

SoD and No Chirality

[Flocchini et al., 2001]

A solution exists if n is odd.

(5)

SoD and Chirality

[Flocchini et al., 1999]

A solution exists for any n.

North

SoD and No Chirality

[Flocchini et al., 2001]

A solution exists if n is odd.

(6)

SoD and Chirality

[Flocchini et al., 1999]

A solution exists for any n.

North

SoD and No Chirality

[Flocchini et al., 2001]

A solution exists if n is odd.

(7)

SoD and Chirality

[Flocchini et al., 1999]

A solution exists for any n.

North

SoD and No Chirality

[Flocchini et al., 2001]

A solution exists if n is odd.

North

(8)

SoD and Chirality

[Flocchini et al., 1999]

A solution exists for any n.

North

SoD and No Chirality

[Flocchini et al., 2001]

A solution exists if n is odd.

North

(9)

No SoD

[Prencipe 2002]

Impossible in general.

(10)

No SoD

[Prencipe 2002]

Impossible in general.

In such a configuration, it is not possible to break the symmetry.

(11)

Question

Assuming no sense of direction (with or without chirality), what are the geometric conditions to be able to deterministically agree on a single robot?

To answer to this question, we need tools from the theory on

Combinatoric on Words, specifically Lyndon Words.

(12)

Question

Assuming no sense of direction (with or without chirality), what are the geometric conditions to be able to deterministically agree on a single robot?

To answer to this question, we need tools from the theory on

Combinatoric on Words, specifically Lyndon Words.

(13)

Definition (Word)

Let A = {a 0 , a 1 , . . . , a n } be an alphabet. A word is a (possibly empty) sequence of letters in A.

A = {a, b, c, d }

abcc a dddddddd ≡ d 8

(14)

Definition (Word)

Let A = {a 0 , a 1 , . . . , a n } be an alphabet. A word is a (possibly empty) sequence of letters in A.

A = {a, b, c, d }

abcc a dddddddd ≡ d 8

(15)

Definition (Concatenation)

Let u = a 1 , . . . , a i , . . . , a k and v = b 1 , . . . , b j , . . . , b ` .

The concatenation of u and v , denoted uv , is equal to the word a 1 , . . . , a i , . . . , a k , b 1 , . . . , b j , . . . , b ` .

u = UP, v = MC, uv = UPMC

(16)

Definition (Concatenation)

Let u = a 1 , . . . , a i , . . . , a k and v = b 1 , . . . , b j , . . . , b ` .

The concatenation of u and v , denoted uv , is equal to the word a 1 , . . . , a i , . . . , a k , b 1 , . . . , b j , . . . , b ` .

u = UP, v = MC, uv = UPMC

(17)

Definition (Lexicographic Order)

Let A be an alphabet totally ordered by ≺, i.e., a 0 ≺ a 1 ≺ . . . ≺ a n .

A word u = a 0 a 1 . . . a s is said to be lexicographically smaller than or equal to a word v = b 0 b 1 . . . b t , denoted by u v , iff:

either u is a prefix of v ,

or, ∃k : ∀i ∈ [1, . . . , k − 1], a i = b i and a k ≺ b k .

ab abc abc abc abc abc def

(18)

Definition (Lexicographic Order)

Let A be an alphabet totally ordered by ≺, i.e., a 0 ≺ a 1 ≺ . . . ≺ a n .

A word u = a 0 a 1 . . . a s is said to be lexicographically smaller than or equal to a word v = b 0 b 1 . . . b t , denoted by u v , iff:

either u is a prefix of v ,

or, ∃k : ∀i ∈ [1, . . . , k − 1], a i = b i and a k ≺ b k .

ab abc abc abc abc abc def

(19)

Definition (Primitive Word)

A word u is said to be primitive iff u = v k ⇒ k = 1. Otherwise, u is said to be periodic.

Primitive Words

ab dabcbc dcba

Periodic Words

d 8 bcbc

(20)

Definition (Primitive Word)

A word u is said to be primitive iff u = v k ⇒ k = 1. Otherwise, u is said to be periodic.

Primitive Words

ab dabcbc dcba

Periodic Words

d 8 bcbc

(21)

Definition (Rotation)

A word u is said to be a rotation of a word v iff there exists two words x, y such that u = xy and v = yx.

u = abcd and v = cd ab u = abcd and v = bcd a

Definition (Minimality)

A word u is said to be a minimal iff u is lexicographically smaller

than any of its rotations.

(22)

Definition (Rotation)

A word u is said to be a rotation of a word v iff there exists two words x, y such that u = xy and v = yx.

u = abcd and v = cd ab u = abcd and v = bcd a Definition (Minimality)

A word u is said to be a minimal iff u is lexicographically smaller

than any of its rotations.

(23)

Definition (Rotation)

A word u is said to be a rotation of a word v iff there exists two words x, y such that u = xy and v = yx.

u = abcd and v = cd ab u = abcd and v = bcd a Definition (Minimality)

A word u is said to be a minimal iff u is lexicographically smaller

than any of its rotations.

(24)

Definition (Lyndon Word)

A word u is a Lyndon word iff u is primitive and minimal.

Lyndon Word

abc (abc cab and abc bca)

Not a Lyndon Word

bca (bca abc)

(25)

Definition (Lyndon Word)

A word u is a Lyndon word iff u is primitive and minimal.

Lyndon Word

abc (abc cab and abc bca)

Not a Lyndon Word

bca (bca abc)

(26)
(27)
(28)
(29)

O

(30)

c a b

d

d e

f

O d

d d

d

(31)

α

b d

d e

f d d d

d c

β

β

O

α γ

a

(32)

ρ

b d

d e

f d d d

d c

β

β O

α ρ2 γ

α

1

a

W (ρ

1

) = (abd , β)(d

2

, α)

2

(d , α)(f, β)(ec, γ) W (ρ

2

) = (d

2

, α)

2

(d , α)(f, β)(ec, γ)(abc, β)

Lemma

If two distinct radii ρ 1 and ρ 2 exist such that both W (ρ 1 ) and W(ρ 2 ) are Lyn- don words, then ∀ρ, W (ρ) = (0, 0).

Lemma (⇒)

If there exists a radius ρ such that

(33)

ρ

b d

d e

f d d d

d c

β

β O

α ρ2 γ

α

1

a

W (ρ

1

) = (abd , β)(d

2

, α)

2

(d , α)(f, β)(ec, γ) W (ρ

2

) = (d

2

, α)

2

(d , α)(f, β)(ec, γ)(abc, β)

Lemma

If two distinct radii ρ 1 and ρ 2 exist such that both W (ρ 1 ) and W(ρ 2 ) are Lyn- don words, then ∀ρ, W (ρ) = (0, 0).

Lemma (⇒)

If there exists a radius ρ such that

(34)

ρ

b d

d e

f d d d

d c

β

β O

α ρ2 γ

α

1

a

W (ρ

1

) = (abd , β)(d

2

, α)

2

(d , α)(f, β)(ec, γ) W (ρ

2

) = (d

2

, α)

2

(d , α)(f, β)(ec, γ)(abc, β)

Lemma

If two distinct radii ρ 1 and ρ 2 exist such that both W (ρ 1 ) and W(ρ 2 ) are Lyn- don words, then ∀ρ, W (ρ) = (0, 0).

Lemma (⇒)

If there exists a radius ρ such that

(35)

Lemma (⇐)

If there exists no radius ρ such that W (ρ) is a Lyndon word, then the robots are not able to deterministically agree on the same leader.

Property

[Lothaire 1983]

If no rotation of a word u is a

Lyndon word, then u is periodic.

(36)

Lemma (⇐)

If there exists no radius ρ such that W (ρ) is a Lyndon word, then the robots are not able to deterministically agree on the same leader.

Property

[Lothaire 1983]

If no rotation of a word u is a

Lyndon word, then u is periodic.

(37)

Lemma (⇐)

If there exists no radius ρ such that W (ρ) is a Lyndon word, then the robots are not able to deterministically agree on the same leader.

Property

[Lothaire 1983]

If no rotation of a word u is a

x

x

x x

α α

α α

x

b a a

d

b

d

(38)

Theorem

Assuming chirality, a swarm of robots is able to deterministically

agree on the same leader if and only if there exists a radius ρ

such that W (ρ) is a Lyndon word.

(39)
(40)

c

β

β O

α α

ρ2 γ

α ρ1

a b

c

d e

f d d d

d

(41)

c

β

β O

α α

ρ2 γ

α ρ1

a b

c

d e

f d d d

d

For each ρ, there are 2 ways to com- pute W (ρ)

W (ρ

1

) = either

(abc, β)(d

2

, α)

2

(d, α)(f , β)(ec, γ) or

(abc, γ)(ec, β)(f , α)(d, α)(d

2

, α)(d

2

, β)

depending on either or , respectively.

(42)

β

α

c r1

O a a

b b

r r2

3

β

(43)

β

α

c r1

O a a

b b

r r2

3

β The word

W (ρ

2

)

= W (ρ

3

) = (ab, α)(ab, β)(c, β) is a

Lyndon word.

(44)

β

α

c r1

O a a

b b

r r2

3

β

Definition (Type of Symmetry) A radius ρ i is of Type (of symmetry) 0 if there exists no radius ρ j such that W (ρ i ) = W (ρ j ) . Otherwise, ρ i is said to be of Type 1.

A radius of Type t is said to be t- symmetric.

ρ 1 is 0-symmetric.

ρ 2 and ρ 3 are 1-symmetric.

(45)

β

α

c r1

O a a

b b

r r2

3

β

Definition (Type of Symmetry) A radius ρ i is of Type (of symmetry) 0 if there exists no radius ρ j such that W (ρ i ) = W (ρ j ) . Otherwise, ρ i is said to be of Type 1.

A radius of Type t is said to be t- symmetric.

ρ 1 is 0-symmetric.

ρ 2 and ρ 3 are 1-symmetric.

(46)

c

β

β O

α α

ρ2 γ

α ρ1

a b

c

d e

f d d d

d

For each radius ρ i , every robot com-

putes W (ρ i ) and W (ρ i ) of the form

(type, radiusword , angle).

(47)

c

β

β O

α α

ρ2 γ

α ρ1

a b

c

d e

f d d d

d

For each radius ρ i , every robot com- putes W (ρ i ) and W (ρ i ) of the form (type, radiusword , angle).

W(ρ )

= (0,abc, β)(0, d

2

, α)

2

(0, d, α)(0, f , β)(0,ec, γ)

(48)

c

β

β O

α α

ρ2 γ

α ρ1

a b

c

d e

f d d d

d

Lemma

If two distinct radii ρ 1 and ρ 2 exist such that both W (ρ 1 ) and W(ρ 2 ) are Lyn- don words, then ∀ρ, W (ρ) = (0, 0, 0).

Lemma

If there exists a pair of radii {ρ 1 , ρ 2 }

so that W (ρ i ) or W (ρ i ) is a Lyndon

word (i ∈ {1, 2}), then the robots are

able to deterministically agree on the

(49)

c

β

β O

α α

ρ2 γ

α ρ1

a b

c

d e

f d d d

d

Lemma

If two distinct radii ρ 1 and ρ 2 exist such that both W (ρ 1 ) and W(ρ 2 ) are Lyn- don words, then ∀ρ, W (ρ) = (0, 0, 0).

Lemma

If there exists a pair of radii {ρ 1 , ρ 2 }

so that W (ρ i ) or W (ρ i ) is a Lyndon

word (i ∈ {1, 2}), then the robots are

able to deterministically agree on the

(50)

x x

x x

α

β

γ β

d

d d

d

Lemma

If two distinct radii ρ 1 and ρ 2 exist such that both W (ρ 1 ) and W(ρ 2 ) are Lyn- don words, then ∀ρ, W (ρ) = (0, 0, 0).

Lemma

If there exists a pair of radii {ρ 1 , ρ 2 }

so that W (ρ i ) or W (ρ i ) is a Lyndon

word (i ∈ {1, 2}), then the robots are

able to deterministically agree on the

(51)

β

α c r

1

O a a

b b

r r2

3

β

Lemma

If two distinct radii ρ 1 and ρ 2 exist such that both W (ρ 1 ) and W(ρ 2 ) are Lyn- don words, then ∀ρ, W (ρ) = (0, 0, 0).

Lemma

If there exists a pair of radii {ρ 1 , ρ 2 }

so that W (ρ i ) or W (ρ i ) is a Lyndon

word (i ∈ {1, 2}), then the robots are

able to deterministically agree on the

(52)

Theorem

Assuming no chirality, a swarm of robots is able to deterministi-

cally agree on the same leader if and only if there exists a radius

ρ such that W (ρ) is a 0-symmetric Lyndon word.

Références

Documents relatifs

To summarize, all existing self-stabilizing leader election algorithm designed in a practical communication model, and for rings of arbitrary size, without a priori orientation,

Boboc, Excessive functions and excessive measures: Hunt’s theorem on balayages, quasi-continuity.. Worpshop Classical and Modern Potential Theory and Appl., NATO ASI Series C

Landsberg, Ranks of tensors and a generalization of secant vari- eties.. Linear

Given a swarm of n robots scat- tered on the plan, designing a deterministic algorithm so that, the robots eventually form a pat- tern P made of n positions and known by each of them

Given a swarm of n robots scat- tered on the plan, designing a deterministic algorithm so that, the robots eventually form a pat- tern P made of n positions and known by each of them

Given a swarm of n robots scat- tered on the plan, designing a deterministic algorithm so that, the robots eventually form a pat- tern P made of n positions and known by each of them

Seemingly inescapable consequences of the physiologist's account of perception appear to demolish not just the credentials of some other theory of perception, but the

University of Zurich (UZH) Fall 2012 MAT532 – Representation theory..