• Aucun résultat trouvé

Introduction to the Gathering Problem

N/A
N/A
Protected

Academic year: 2022

Partager "Introduction to the Gathering Problem"

Copied!
49
0
0

Texte intégral

(1)

RES/SEC 1

Introduction to the

Gathering Problem

(2)

Gathering - Unlimited Visibility

Initially the robots are in arbitrary distinct positions.

(3)

RES/SEC 3

Gathering

Unlimited Visibility - SYm

❚  Istantaneous activities

n=2, the problem is unsolvable

Ando, Oasa, Suzuki, Yamashita Siam Journal Of Computing, 1999

(4)

Gathering, n=2

Unlimited Visibility - SYm

In fact, since the robots have no dimension…

…moving them towards each other is not useful…

…but it works if they can bump!

…and cannot bump...

(5)

RES/SEC 5

Gathering

Unlimited Visibility - SYm

❚  Istantaneous activities

n=2, the problem is unsolvable

❚  n>2, they provide an oblivious algorithm that let the robots gather in finite time

Ando, Oasa, Suzuki, Yamashita Siam Journal Of Computing, 1999

(6)

Gathering, ASYNC

•  In spite of its apparent simplicity, this problem has been tackled in several studies

•  In fact, several factors render this problem difficult to solve

– Major problems arise from symmetric configuraHons....

(7)

DifficulHes

RES/SEC 7

If at the beginning....

(8)

DifficulHes

Not symmetric....

General Algorithm!!

If at the beginning....

(9)

DifficulHes

RES/SEC 9

....after a while....

Impossible d'afficher l'image. Votre ordinateur manque peut-être de mémoire pour ouvrir l'image ou l'image est endommagée.

Impossible d'afficher l'image. Votre ordinateur manque peut-être de mémoire

(10)

DifficulHes

Symmetric

Symmetric…

go to c General Algorithm…

(11)

Gathering—easy soluHon

RES/SEC 11

Easy Solution: Weber Point (Weiszfeld, ‘36)!

=

i p i

r p

WP arg min dist( , )

2

Given r1,…,rn:

1. It is unique (Weiszfeld, ‘36)

WP

(12)

Gathering—easy soluHon

2. WP is Weber Point of points on [ri,WP] (Weiszfeld, ‘36)

r4

r2 r1

r5

r3

1. It is unique (Weiszfeld, ‘36)

Easy Solution: Weber Point (Weiszfeld, ‘36)!

=

i p i

r p

WP arg min dist( , )

2

Given r1,…,rn:

WP

(13)

Gathering—easy soluHon

RES/SEC 13

r4

r2 r1

r5

r3

2. WP is Weber Point of points on [ri,WP] (Weiszfeld, ‘36)

1. It is unique (Weiszfeld, ‘36)

Easy Solution: Weber Point (Weiszfeld, ‘36)!

=

i p i

r p

WP arg min dist( , )

2

Given r1,…,rn:

WP

(14)

Gathering—easy soluHon

r4

r2 r1

r5

r3

2. WP is Weber Point of points on [ri,WP] (Weiszfeld, ‘36)

1. It is unique (Weiszfeld, ‘36)

Easy Solution: Weber Point (Weiszfeld, ‘36)!

=

i p i

r p

WP arg min dist( , )

2

Given r1,…,rn:

WP

(15)

Gathering—easy soluHon

RES/SEC 15

2. WP is Weber Point of points on [ri,WP] (Weiszfeld, ‘36)

1. It is unique (Weiszfeld, ‘36)

WP Invariant Under Movement!

Easy Solution: Weber Point (Weiszfeld, ‘36)!

=

i p i

r p

WP arg min dist( , )

2

Given r1,…,rn:

WP

(16)

Gathering—easy soluHon

Easy Solution: Weber Point (Weiszfeld, ‘36)!

Algorithm:

1. Compute WP

2. Move Towards WP

Unfortunately, WP is not computable!

(17)
(18)
(19)

Gathering

(Unlimited Visibility, no agreement)

RES/SEC 19

n=2: Unsolvable (by Suzuki et al.),

unless they can bump into each other!

(20)

Gathering

(Unlimited Visibility, no agreement)

N=3 (4): Always solvable!

n=2: Unsolvable (by Suzuki et al.),

unless they can bump into each other!

(21)

Gathering, n=3

(Unlimited Visibility, no agreement)

RES/SEC 21

r2

r1 r3

p p

r2

r3 r1

p

120° p

(22)

General Schema

•  Use of MulHplicity DetecHon

– n=3,4 (and even with the use of Weber Point)

Is there 1 or more than 1 robot at a point?

>1

>1

>1

(23)

General Schema

RES/SEC 23

The general idea of the solutions is based on multiplicity detection, as follows

1. At the beginning, robots on distinct positions 2. Get a scenario where there is only one point p with multiplicity greater than one

3. All robots move towards p

(24)

MulHplicity DetecHon

p

P

If the robots cannot detect multiplicities…

is as… p P

…the proposed solutions do not work!!!!

(25)

MulHplicity DetecHon

RES/SEC 25

For n=2, the problem is not solvable (Suzuki et al., 1999)!

p

P

It is possible to design an adversary that lets the robots occupy two distinct positions on the plane in a finite number of cycles…

(26)

MulHplicity DetecHon

…hence…

Problem not solvable with n=2

No multiplicity detection

(27)

Let s design the adversary

•  We divide the robots in two sets

– n-1 robots (r1, ..., rn-1) are the blue robots

– There is one red robot (rn) (same direcHon but opposite orientaHon)

RES/SEC 27

(28)

E-configuraHons

E1-configuration

(29)

E-configuraHons

LEMMA: If the robots are not gathered on the same posiHon at the beginning, in finite Hme they reach an E-configuraHon

RES/SEC 29

We need to define a scheduler that, given any algorithm A that solves the problem, brings the robots in a E-configuration

(30)

E-configuraHons

Schedule:

If activating all

robots at t, they do not gather on p at t +1, activate all of them at t

(31)

E-configuraHons

RES/SEC 31

Schedule:

If activating all

robots at t, they do not gather on p at t +1, activate all of them at t

Time: 1

(32)

E-configuraHons

Schedule:

If activating all

robots at t, they do not gather on p at t +1, activate all of them at t

(33)

E-configuraHons

RES/SEC 33

Schedule:

If activating all

robots at t, they do not gather on p at t +1, activate all of them at t

Time: ....

(34)

E-configuraHons

Schedule:

If activating all

robots at t, they do not gather on p at t +1, activate all of them at t

Otherwise, at t, activate all robots but one that is not p

(35)

E-configuraHons

RES/SEC 35

Schedule:

If activating all

robots at t, they do not gather on p at t +1, activate all of them at t

Otherwise, at t, activate all robots but one that is not on p at t

Time: t p

(36)

E-configuraHons

Schedule:

If activating all

robots at t, they do not gather on p at t +1, activate all of them at t

Otherwise, at t, activate all robots but one that is not p

In the example: E2-conf

(37)

E1-configuraHon

LEMMA: There exists no determinisHc algorithm that, starHng from an E1-configuraHon, solves the gathering problem

RES/SEC 37

(38)

E1-configuraHon

NOTE: the blue robots have the same view of the world and cannot detect

multiplicity;

hence, if activated at a time t, they will compute the

same destination point, and at time t+1 they will still be on the same position

(39)

E1-configuraHon

RES/SEC 39

Schedule (alternates the following 2 rules):

If activating one of the blue robots, it does not reach the position occupied by the red one, activate all blue robots If activating the red robot, it does not reach the position occupied by the blue ones, activate the red robot

Assume exists A that solves the problem

Therefore, for a while the configuration stays E1

(40)

E1-configuraHon

Assume exists A that solves the problem

Since A solves the

problem, in finite time, either the red goes on the position occupied by blue robots, or

viceversa....

....at this time....

(41)

E1-configuraHon

RES/SEC 41

Schedule:

1.  Activate all but one blue robots

(42)

E1-configuraHon

Schedule:

1.  Activate all but one blue robots

(43)

E1-configuraHon

RES/SEC 43

Schedule:

1.  Activate all but one blue robots

2.  Activate the red robot (no multiplicity detection, and A deterministic)

(44)

E1-configuraHon

Schedule:

1.  Activate all but one blue robots

2.  Activate the red robot (no multiplicity detection, and A deterministic)

(45)

E1-configuraHon

RES/SEC 45

Schedule:

1.  Activate all but one blue robots

2.  Activate the red robot (no multiplicity detection, and A deterministic)

3.  Activate the last blue robot

(46)

E1-configuraHon

Schedule:

1.  Activate all but one blue robots

2.  Activate the red robot (no multiplicity detection, and A deterministic)

3.  Activate the last blue robot

Again in a E1

(47)

E2-configuraHon

RES/SEC 47

LEMMA: There exists no deterministic algorithm that, starting from an E2-

configuration, solves the gathering

problem

(48)

Finally....

So far, we proved that

•  An E-configuraHon can always be reached in finite Hme

•  No determinisHc algorithm solves the Gathering problem starHng from an E1 or E2 configuraHon Hence:

Theorem: There exists no determinisHc algorithm that solves the Gathering problem

(49)

Gathering

RES/SEC 49

No agreement on the local coordinate systems, and oblivious robots....

Necessary Condition: Multiplicity Detection!

(in SSYNC, hence in SYNC)

Références

Documents relatifs

in which the disks are copied is you sequence of the following instructions, undesirable Log onto a disk drive which contains the TurboDOS occur.. COPY.CMD or .COM program in

If no damage is apparent, open the shipping container and remove documentation, mounting hardware, and cables.. Check materials received in option

Following the literature on APT used as a classroom facilitation technique, in this study we test the hypothesis that appropriate APT support in a computer-supported

Residency in a family medicine–run hospital Many programs offer family medicine training in secondary and primary care hospitals, run primarily by family doctors (including McGill’s

It is possible to design an adversary that lets the robots occupy two distinct positions on the plane in a finite number of cycles….. MulHplicity  DetecHon

By multivariate analysis (PCA and DA) Apis koschevnikovi can clearly be separated from the 2 other cavity-nesting Apis spe- cies.. koschevnikovi is very similar to

GREEN yellow...

light blue dark blue.. www.lutinbazar.fr