moving and computing · 12 kali scheme distributed impl. of scheme nec research i. scheme...

183
MOVING AND COMPUTING GRASTA/MAC Tutorial 2015 IN DISCRETE SPACES

Upload: others

Post on 04-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

MOVING AND COMPUTING

BY

GRASTA/MAC Tutorial 2015

IN

DISCRETE SPACES

Page 2: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Netscape

Graph G

node (site , host) edge (link , channel)

Page 3: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Netscape

called agents

Netscape inhabited by computational mobile entities

Page 4: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Has computing capabilities

1+2 =3

Can move from node to neighboring node

Has limited storage

Each Agent

Page 5: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Computational Models : Existing Systems (some)

No. Name Description Developer Language Application

1 Concordia Framework for agent development Mitsubishi E.I.T. Java Mobile computing, Data base

2 Aglet Java Class libraries IBM, Tokyo Java Internet

3 Agent Tcl Transportable agent system R. Gray, U Dart. Tcl Tk Information management

4 Odyssey Set of Java Class libraries General Magic Telescript Electronic commerce

5 OAA Open Agent Architecture SRI International, AI C, C-Lisp, Java, VB General purpose

6 Ara Agent for Remote Action U Kaiserslautern C/C++, Tcl, Java Partially connected c. D.D.B.

7 Tacoma Tromso and Cornel Moving Agent Norway & Cornell C , UNIX- based , Client/Server model issues / OS support

8 Voyager Platform for distributed applic. ObjectSpace Java Support for agent systems

9 AgentSpace Agent building platform Ichiro Sato, O. U. Java General purpose

10 Mole First Java-Based MA system Stuttgart U. Germany Java, UNIX -based General purpose

11 MOA M obile Object and Agents OpenGroup, UK Java General purpose

12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing

13 The Tube mobile code system David Halls, UK Scheme Remote execution of Scheme

14 Ajanta Network mobile object Minoseta U. Java General purpose

15 Knowbots Research infrastructure of MA CNRI Python Distributed systems / Internet

16 AgentSpace Mobile agent framework Alberto Sylva Java Support for dynamic and dist. Appl.

17 Plangent Intelligent Agent system Toshiba Corporation Java Intelligent tasks

18 JATlite Java Agent framework dev /KQML Standford U. Java Information retrievial, Interface agent

19 Kafka Multiagent libraries for Java Fujitsu Lab. Japan Java UNIX based General purpose

20 Messengers Autonomous messages UCI C (Messenger-C) General purpose

GRASTA/MAC Tutorial 2015

Page 6: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Computational Models : Existing Systems

GRASTA/MAC Tutorial 2015

Page 7: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Computational Models : Existing Systems

Protocol

State Variables

MOBILE CODE

GRASTA/MAC Tutorial 2015

Page 8: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Computational Models : Existing Systems

Execute the code

GRASTA/MAC Tutorial 2015

Page 9: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Have the same behavior (execute the same protocol)

Collectively they perform some task (solve a problem)

Agents

Page 10: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Computability

Under what conditions ?

What problems can be solved ?

Page 11: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Under what conditions ?

What problems can be solved ?

Computability and Complexity

At what cost ?

Page 12: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Tasks / Problems

Exploration

? Map Construction

Map Verification

Search

GRASTA/MAC Tutorial 2015

Page 13: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Tasks / Problems

RendezVous

Gathering

GRASTA/MAC Tutorial 2015

Page 14: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Tasks / Problems

RendezVous

Gathering

GRASTA/MAC Tutorial 2015

Page 15: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Tasks / Problems

Election

GRASTA/MAC Tutorial 2015

Page 16: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Tasks / Problems

Election

GRASTA/MAC Tutorial 2015

Page 17: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Tasks / Problems

Intruder Capture

Decontamination

GRASTA/MAC Tutorial 2015

Page 18: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Shannon [JMF’51] Blum, Kozen [FOCS’78] Dudek, Jenkin, Milios, Wilkes [Robotics and Automation ’91] Bender, Slonim [FOCS ’94] Betke, Rivest, Singh [Machine Learning ’95] Bender, Fernandez, Ron, Sahai, Vadhan [STOC ’98] Deng, Papadimitriou [J. Graph Theory ’99] Panaite, Pelc [J. Algorithms ’99] Awerbuch, Betke, Rivest, Singh [Information and Comp. ’99] Panaite, Pelc [Networks ’00] Albers, Henzinger [SIAMJC ’00] Duncan, Kobourov, Kumar [SODA ’01] … …. ….

Exploration/ Map Construction/ Map Verification

GRASTA/MAC Tutorial 2015

Page 19: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Exploration/ Map Construction/ Map Verification

… … … Das, Flocchini, Kutten, Nayak, Santoro [Theo.Comp.Sci.’07] Fraigniaud, Ilcinkas, Pelc [Inform. Comput ‘08] Ilcinkas [Theo.Comp.Sci.‘08] Chalopin, Flocchini, Mans, Santoro [WG ’10] Sudo,Baba,Nakamura,Ooshita,Kakugawa, Masuzawa [WRAS‘10] Flocchini, Ilcinkas, Pelc, Santoro [Theo.Comp.Sci.‘10] Brass, Cabrera, Gasparri, Xiao [IEEE Tr. Robotics’11] D’Angelo, Di Stefano,Navarra [DISC‘12] Dieudonne, Pelc [Trans.Alg. ’14] Kralovic [SOFSEM‘14] Pelc, Tiane [I.J.Found. Comp. Sci. ’14]

GRASTA/MAC Tutorial 2015

AND MANY MANY MORE …

Page 20: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Rendezvous / Election

Alpern [SIAM J Cont. Optimization 95] Anderson, Weber [J Applied Probability 99] Yu, Yung [ICALP 96] Alpern, Boston, Essegarer [J Appl. Probability 99] Howard et al [Operation research 99] Barrière, Flocchini, Fraigniaud, Santoro [SPAA03] Dessmark, Fraigniaud, Pelc [ESA 03] Kranakis, Krizac, Santoro,Sawchuk [ICDCS’03] Barrière,Flocchini,Fraigniaud,Santoro [T.Comp.Sys. 05] Dessmark,Fraigniaud,Kowalski,Pelc [Networks 06] Chalopin [Theo.Comp.Sci.’08] Klasing, Markou, Pelc [Theo.Comp.Sci.’08] Czyzowicz, Pelc, Labourel [ACM Trans. Alg.‘13] D’Angelo, Di Stefano, Klasing, Navarra [Theo.Comp.Sci. 14]

AND MANY MORE … GRASTA/MAC Tutorial 2015

Page 21: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Dobrev, Flocchini, Prencipe, Santoro [Algorithmica ‘06] Dobrev, Flocchini, Prencipe, Santoro [Distributed Comp. ‘06] Czyzowicz, Kowalski,Markou,Pelc [Found. Infor. ‘06 ] Dobrev,Flocchini,Kralovic,Prencipe,Ruzicka,Santoro [Networks ‘06] Dobrev, Flocchini, Santoro [Theo.Comp.Sci. ’06] Klasing, Markou, Radzik,Sarracco [Theo.Comp.Sci. ‘07] Czyzowicz, Kowalski, Markou, Pelc [Comb.Prob.Comp. ‘07] Chalopin, Das, Santoro [DISC ‘07] Klasing,Markou,Radzik,Sarracco [Networks ‘08] Balamohan, Flocchini, Miri, Santoro [Discrete Math. ‘11] Chalopin, Das, Labourel, Markou [DISC ‘11] Flocchini, Ilcinkas, Santoro [Algorithmica ‘12] D'Emidio, Frigioni, Navarra [ADHOCNOW ‘13] Balamohan, Dobrev, Flocchini, Santoro [Theo.Comp.Sci. ’14]

Dangerous Explorations / Dangerous Rendezvous

AND MORE … GRASTA/MAC Tutorial 2015

Page 22: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Intruder Capture / Network Decontamination

Breisch [Southwestern Cavers, 1967] Makedon and Sudborough [ICALP ’83] Kirousis, Papadimitriou [J. Theo. Com.Sc., 1986] Megiddo, Hakimi, Garey, Johnson, Papadimitriou [JACM, 1988] Bienstock and Seymour [J. of Algo., 1991] Lapaugh [JACM, 1993] Ellis, Sudborough, and Turner [Info & Comp., 1994] Fomin, Golovach [SIAM J.Disc.Math., 2000] Thilikos [Disc. Applied Maths, 2000] …. ….. ……

Agents can JUMP …

GRASTA/MAC Tutorial 2015

AND MORE …

Page 23: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Breisch [Southwestern Cavers, 1967] Barriere, Flocchini, Fraigniaud, Santoro [ SPAA’02] Barriere, Fraigniaud, Santoro, Thilikos [ WG’03] Blin, Fraigniaud, Nisse, Vial [ SIROCCO’06] Fraigniaud,Nisse [ LATIN’06] Fraigniaud,Nisse [ WG’06] F.L.Luccio [ FUN ‘07] Flocchini, Huang, F.L.Luccio [Int.J.Found.Comp.Sci.’07] Luccio, Pagli, Santoro [ Int.J.Found.Comp.Sci. ‘07] Flocchini, Huang, F.L.Luccio [ Networks 08] Dereniowski [SIAM J. Discrete Math. ‘12] Barriere,Flocchini,Fomin,Nisse,Santoro,Thilikos [Inf. Comp. ‘12 ] Borowiecki, Dereniowski, Kuszner [ DISC ‘14] Flocchini, Luccio, Pagli, Santoro [Discrete Appl. Math. ‘15] Nisse, Soares [Discrete Applied Mathematics’15]

Intruder Capture / Network Decontamination

AND MORE … GRASTA/MAC Tutorial 2015

Page 24: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

COMPUTATIONAL MODELS

Computability and Complexity

COST MEASURES

GRASTA/MAC Tutorial 2015

Page 25: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Many factors to be considered

Computability and Complexity

GRASTA/MAC Tutorial 2015

Page 26: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Example

Exploration

Map Construction

GRASTA/MAC Tutorial 2015

every node must be visited by at least one agent

a map of the graph must be constructed by at least one agent

Page 27: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Exploration

Map Construction

every node must be visited by at least one agent

a map of the graph must be constructed by at least one agent

1 1

2

3

Example

Page 28: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Exploration

Map Construction

every node must be visited by at least one agent

a map of the graph must be constructed by at least one agent

1 1 2

Example

Page 29: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Exploration

Map Construction

every node must be visited by at least one agent

a map of the graph must be constructed by at least one agent

1 1 2

2

Example

Page 30: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Exploration

Map Construction

every node must be visited by at least one agent

a map of the graph must be constructed by at least one agent

1 1 2

2 Exploration completed !

1 how does it know ?

Example

GRASTA/MAC Tutorial 2015

Page 31: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Exploration

Map Construction

every node must be visited by at least one agent

a map of the graph must be constructed by at least one agent

1 1 2

2

1 1 2

2

Example

Page 32: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Have I been here before ?

GRASTA/MAC Tutorial 2015

Exploration

Map Construction

every node must be visited by at least one agent

a map of the graph must be constructed by at least one agent

1 1 2

2

1 1 2

2

1

1

Example

Page 33: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Exploration

Map Construction

every node must be visited by at least one agent

a map of the graph must be constructed by at least one agent

Example

1

2

3 Have I been here before ?

GRASTA/MAC Tutorial 2015

Page 34: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Exploration

Map Construction

every node must be visited by at least one agent

a map of the graph must be constructed by at least one agent

Example

1

2

3 Have I been here before ?

GRASTA/MAC Tutorial 2015

Page 35: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Exploration

Map Construction

every node must be visited by at least one agent

a map of the graph must be constructed by at least one agent

Example

Page 36: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Exploration

Map Construction

every node must be visited by at least one agent

a map of the graph must be constructed by at least one agent

GO AROUND !

Example

Page 37: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Exploration

Map Construction

every node must be visited by at least one agent

a map of the graph must be constructed by at least one agent

GO AROUND !

When can I stop ?

Example

Page 38: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Exploration

Map Construction

every node must be visited by at least one agent

a map of the graph must be constructed by at least one agent

GO AROUND !

NEVER !

Example

When can I stop ?

Page 39: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

If it can mark the node:

GO AROUND !

Example

Page 40: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

If it can mark the node:

GO AROUND until find marked node

Example

Page 41: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

If it can mark the node:

GO AROUND until find marked node

Example

Page 42: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

More than one agent:

Example

Page 43: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

More than one agent:

GO AROUND in different directions until meet other

left right

who is going left ?

?

Page 44: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Many factors to be considered

Computability and Complexity

GRASTA/MAC Tutorial 2015

Page 45: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Asynchronous vs Synchronous

Computability and Complexity

Oblivious vs Persistent Memory

Anonymous vs Distinct Ids

Finite-State vs Turing

Interaction and Communication Mechanisms

GRASTA/MAC Tutorial 2015

Page 46: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Communication and Coordination

Vision Face-to-Face Tokens

Whiteboards

Computational Models : Interaction and Communication:

Page 47: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Communication and Coordination

Vision Face-to-Face Tokens

Whiteboards

Computational Models : Interaction and Communication:

Page 48: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Vision

Each can see the graph and the location of the other robots within its visibility range

-  LOOK-COMPUTE-MOVE cycles -  Oblivious robots -  Anonymous nodes

FSYNC, SSYNC, ASYNC Limited vs Global Visibility Labelled vs Unlabelled edges Sense of Direction vs No Orientation

Page 49: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Vision

Klasing, Markou, Pelc, TCS 2008

Klasing, Kosowski, Navarra, TCS 2010

Kamei,Lamani,Ooshita,Tixeuil, MFCS 2012

Di Stefano,Navarra, SIROCCO 2013

Izumi,Izumi,Kamei,Ooshita, IEICE Trans. 2013

Di Stefano,Navarra, SSS 2014

D'Angelo,Di Stefano,Navarra, Distributed Computing 2014

D'Angelo,Di Stefano,Navarra, J. Discrete Alg. 2014

Kamei,Lamani,Ooshita, SRDS 2014

Di Stefano,Montanari,Navarra, IWOCA 2015

Cicerone,Di Stefano, Navarra, ALGOSENSORS 2015

D'Angelo,Di Stefano,Klasing,Navarra, TCS 2015

D'Angelo,Di Stefano,Navarra,Nisse,Suchan, Algorithmica 2015

GATHERING

Page 50: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Vision

Devismes, Petit,Tixeuil, SIROCCO 2009

Chalopin, Flocchini,Mans, Santoro. WG 2010

Lamani, Potop-Butucaru,Tixeuil, SIROCCO 2010

Flocchini, Ilcinkas, Pelc, Santoro, TCS 2010

Flocchini, Ilcinkas, Pelc, Santoro, IPL 2011

Devismes,Lamani,Petit,Raymond,Tixeuil, SSS 2012

Datta,Lamani,Larmore,Petit, ICDCS 2013

Flocchini, Ilcinkas, Pelc, Santoro, Algorithmica 2013

EXPLORATION

Page 51: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Communication and Coordination

Vision Face-to-Face Tokens

Whiteboards

Computational Models : Interaction and Communication:

Page 52: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Whiteboards

Each node has a whiteboard

When at a node, an agent can write on the whiteboard

Page 53: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

When at a node, an agent can write on the whiteboard

Hello, I was here.

Whiteboards

Page 54: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

When at a node, an agent can read what is written on the whiteboard

Hello, I was here.

Whiteboards

Page 55: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Agents communicate through whiteboards, accessed in fair mutual exclusion

LINK 3 IS SAFE

I’M CHECHING LINK 2

Whiteboards

Page 56: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

-  Allow to BREAK SYMMETRY

Whiteboards are powerful

GRASTA/MAC Tutorial 2015

Page 57: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

-  Allow to BREAK SYMMETRY

Whiteboards are powerful

I am RIGHT agent

GRASTA/MAC Tutorial 2015

Page 58: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

-  Allow to BREAK SYMMETRY

Whiteboards are powerful

I am RIGHT agent

I am LEFT agent

GRASTA/MAC Tutorial 2015

Page 59: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Number of agents used to solve problem / perform task

Cost Measures : Team size

GRASTA/MAC Tutorial 2015

Page 60: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Number of moves made by agents to solve problem

GRASTA/MAC Tutorial 2015

Cost Measures : Number of Moves

Page 61: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Cost Measures : Memory

Amount of memory a node provides to the agents

Page 62: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Cost Measures Cost Measures : Memory

System Memory

GRASTA/MAC Tutorial 2015

Size of whiteboard

WHITEBOARD

LOCAL CLOCK

LINKS

Page 63: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

BLACK HOLE SEARCH

GRASTA/MAC Tutorial 2015

Page 64: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Black Hole

GRASTA/MAC Tutorial 2015

Black Hole Search

Destroys any agent arriving at that node

Does not leave any trace of destruction

Its location is unknown to the agents

Page 65: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Dobrev, Flocchini, Prencipe, Santoro, Algorithmica 2006 Dobrev, Flocchini, Prencipe, Santoro, Distributed Comp. 2006 Czyzowicz, Kowalski,Markou,Pelc, Found. Infor. 2006 Dobrev,Flocchini,Kralovic,Prencipe,Ruzicka,Santoro, Networks 2006 Dobrev, Flocchini, Santoro, TCS 20’06 Klasing, Markou, Radzik,Sarracco, TCS 20’07 Czyzowicz, Kowalski, Markou, Pelc, Comb.Prob.Comp. 2007 Chalopin, Das, Santoro, DISC 2007 Klasing,Markou,Radzik,Sarracco, Networks 2008 Dobrev,Santoro,Shi, IJFCS 2008 Balamohan, Flocchini, Miri, Santoro, Discrete Math. 2011 Kosowski,Navarra,Pinotti, TCS 2011 Flocchini, Ilcinkas, Santoro, Algorithmica 2012 Chalopin, Das, Labourel, Markou, TCS 2013 Balamohan, Dobrev, Flocchini, Santoro, TCS 2014 Shi,Garcia-Alfaro. Corriveau, J. Par. Dist. Comp. 2014 D'Emidio, Frigioni, Navarra, TCS 2015

GRASTA/MAC Tutorial 2015

Black Hole Search

Page 66: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

BH is not uncommon !!

GRASTA/MAC Tutorial 2015

Page 67: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Local Process / Software Failure

GRASTA/MAC Tutorial 2015

Page 68: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

- Virus -  Software malfunction Port management malfunction Security malfunction Agent Platform malfunction

Local Process / Software Failure

GRASTA/MAC Tutorial 2015

Page 69: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Hardware Failure

Crash failure of a site in a asynchronous network = Black Hole

GRASTA/MAC Tutorial 2015

Page 70: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Find the location of the black hole.

GRASTA/MAC Tutorial 2015

At least one agents must survive and know the location of the black hole

Black Hole Search

Page 71: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Timing

Asynchronous

Agent’s actions (computations, movements) take a finite but otherwise unpredictable amount of time

GRASTA/MAC Tutorial 2015

Page 72: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

AN EXAMPLE : Black Hole Search in a Ring

n nodes k agents one black hole

GRASTA/MAC Tutorial 2015

Page 73: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Min k ?

right left

n nodes k agents one black hole

AN EXAMPLE : Black Hole Search in a Ring

n known How ?

GRASTA/MAC Tutorial 2015

Page 74: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Ring: Basic Facts

One agent cannot locate the black hole alone

GRASTA/MAC Tutorial 2015

n-1 agents can

Page 75: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

1 2

3

4 5 6

7

8 9

10

how ?

Page 76: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

1 2

3

4 5 6

7

8 9

10

1

2

3

4 5

6 7

8

9

10

how ?

Page 77: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

1 2

3

4 5 6

7

8 9

10

j Check if node j is BH : go to j-1, return; go to j+1, return.

1

2

3

4 5

6 7

8

9

10

Page 78: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

1 2

3

4 5 6

7

8 9

10

j Check if node j is BH : go to j-1, return; go to j+1, return.

1

2

3

4 5

6 7

8

9

10

Page 79: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

1 2

3

4 5 6

7

8 9

10

j Check if node j is BH : go to j-1, return; go to j+1, return.

1

2

3

4 5

6 7

8

9

10

Page 80: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

1 2

3

4 5 6

7

8 9

10

j Check if node j is BH : go to j-1, return; go to j+1, return.

1

2

3

4 5

6 7

8

9

10

Page 81: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

1 2

3

4 5 6

7

8 9

10

j Check if node j is BH : go to j-1, return; go to j+1, return.

1

2

3

4 5

6 7

8

9

10

8

Page 82: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

1 2

3

4 5 6

7

8 9

10

8

j Check if node j is BH : go to j-1, return; go to j+1, return.

Page 83: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

1 2

3

4 5 6

7

8 9

10

8 only one agent survives and knows BH

8

n-2 agents die O(n2) moves

Page 84: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Minimize Casualties

GRASTA/MAC Tutorial 2015

Page 85: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

At most one agent disappears on the same link !

Minimize Casualties

GRASTA/MAC Tutorial 2015

Page 86: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Unexplored port

could be dangerous

Cautious Walk

GRASTA/MAC Tutorial 2015

Page 87: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Active port

Cautious Walk

GRASTA/MAC Tutorial 2015

Page 88: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Cautious Walk

Active port

GRASTA/MAC Tutorial 2015

Page 89: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Explored port. Now it is safe

Cautious Walk

GRASTA/MAC Tutorial 2015

Page 90: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Don’t go on an Active port

Cautious Walk : RULES

GRASTA/MAC Tutorial 2015

Page 91: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

ASYNCHRONY makes the problem DIFFICULT

GRASTA/MAC Tutorial 2015

?

Page 92: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

I cannot use timeouts

?

ASYNCHRONY makes the problem DIFFICULT

?

I might wait forever GRASTA/MAC Tutorial 2015

Page 93: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Black Hole Search in a Ring

1 2

3

4 5 6

7

8 9

10

using cautious walk

Page 94: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

1 2

3

4 5 6

7

8 9

10

1

2

3

4 5

6 7

8

9

10

j Check if node j is BH : go to j-1, return; go to j+1, return.

using cautious walk

Page 95: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

1 2

3

4 5 6

7

8 9

10

j Check if node j is BH : go to j-1, return; go to j+1, return.

8

10

Page 96: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

1 2

3

4 5 6

7

8 9

10

8

10

Page 97: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

1 2

3

4 5 6

7

8 9

10

10

with n-1 agents using cautious walk

at most 2 agents die O(n2) moves

Page 98: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Minimize number of agents

GRASTA/MAC Tutorial 2015

What is the smallest number of agents ?

Page 99: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

One agent cannot locate the black hole alone

How about two agents ? (one dies, one survives)

YES !

Less than O(n2) moves ? YES !

Black Hole Search in a Ring

Page 100: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Ring: Two Agents

Proceed in phases.

At phase i - divide the unexplored area in two contiguous disjoint

parts of almost equal size

- agents explore (using cautious walk) the different parts

GRASTA/MAC Tutorial 2015

Page 101: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Leave a message for the other agent

Done second stage

GRASTA/MAC Tutorial 2015

Page 102: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Partition unexplored region into two areas of almost equal size

Done second stage

GRASTA/MAC Tutorial 2015

Page 103: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Done second stage

Partition unexplored region into two areas of almost equal size

GRASTA/MAC Tutorial 2015

Page 104: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Explore your assigned region.

Done second stage

GRASTA/MAC Tutorial 2015

Page 105: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

When finished, go to the last safe node of other agent

Done second stage

GRASTA/MAC Tutorial 2015

Page 106: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Done second stage

Leave a message for the other agent

GRASTA/MAC Tutorial 2015

Page 107: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Partition unexplored region into two areas of almost equal size

Done third stage

GRASTA/MAC Tutorial 2015

Page 108: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Explore your assigned region.

Done third stage

GRASTA/MAC Tutorial 2015

Page 109: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

When finished, if only one node is unexplored THAT IS THE BLACK HOLE !

When finished, if only one node is unexplored

Done third stage

GRASTA/MAC Tutorial 2015

Page 110: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Done third stage

GRASTA/MAC Tutorial 2015

O(log n) stages

Page 111: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

O(log n) stages O(n) moves per stage

Done third stage

GRASTA/MAC Tutorial 2015

Page 112: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

O(n log n) moves OPTIMAL

Done third stage

GRASTA/MAC Tutorial 2015

O(log n) stages O(n) moves per stage

Dobrev, Flocchini, Santoro ALGORITHMICA 2007

Page 113: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

This result for asynchronous agents is obtained using whiteboards

Whiteboards

GRASTA/MAC Tutorial 2015

Page 114: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Whiteboards

RENDEZVOUS

ELECTION

MAP CONSTRUCTION

Equivalent

GRASTA/MAC Tutorial 2015

Page 115: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Whiteboards

WHITEBOARD MESSAGE-PASSING

MOBILE AGENTS STATIC ENTITIES

GRASTA/MAC Tutorial 2015

Page 116: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Whiteboards are powerful

WHITEBOARD MESSAGE-PASSING

MOBILE AGENTS STATIC ENTITIES

Chalopin, Godard, Metiver,Ossamy OPODIS’06

GRASTA/MAC Tutorial 2015

Page 117: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Whiteboards are powerful

WHITEBOARD MESSAGE-PASSING

k>0 MOBILE AGENTS n STATIC ENTITIES

Das, Flocchini, Santoro, Yamashita, SIROCCO’07

GRASTA/MAC Tutorial 2015

Page 118: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Whiteboards are powerful

GRASTA/MAC Tutorial 2015

-  Allow to BREAK SYMMETRY

Page 119: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

-  Allow to ASSUME FIFO LINKS

Whiteboards are powerful

GRASTA/MAC Tutorial 2015

-  Allow to BREAK SYMMETRY

Page 120: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Whiteboards are powerful

a b

-  Allow to ASSUME FIFO LINKS

I am 3 and go on port a

GRASTA/MAC Tutorial 2015

-  Allow to BREAK SYMMETRY

Page 121: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Whiteboards are powerful

a b

-  Allow to ASSUME FIFO LINKS

I am 3 and go on port a

GRASTA/MAC Tutorial 2015

-  Allow to BREAK SYMMETRY

Page 122: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Whiteboards are powerful

a b

-  Allow to ASSUME FIFO LINKS

I am 3 and go on port a

GRASTA/MAC Tutorial 2015

-  Allow to BREAK SYMMETRY

Page 123: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Whiteboards are powerful

a b

-  Allow to ASSUME FIFO LINKS

I was 3 and arrived from port b I am 3 and go on port a

GRASTA/MAC Tutorial 2015

-  Allow to BREAK SYMMETRY

Page 124: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Whiteboards are powerful

a b

-  Allow to ASSUME FIFO LINKS

I am 3 and go on port a

GRASTA/MAC Tutorial 2015

-  Allow to BREAK SYMMETRY

Page 125: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Whiteboards are powerful

a b

-  Allow to ASSUME FIFO LINKS

I am 3 and go on port a

GRASTA/MAC Tutorial 2015

-  Allow to BREAK SYMMETRY

Page 126: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

-  Explicit (no privacy)

Whiteboards have drawbacks

GRASTA/MAC Tutorial 2015

Page 127: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

-  Explicit (no privacy) -  Expensive - persistent dedicated memory at each node - fair access in mutual exclusion

Whiteboards have drawbacks

GRASTA/MAC Tutorial 2015

Page 128: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

asynchronously in a model weaker than

whiteboards ?

Is it possible to solve problems

GRASTA/MAC Tutorial 2015

Page 129: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

asynchronously in a model weaker than

whiteboards ?

Is it possible to locate the black hole

GRASTA/MAC Tutorial 2015

Page 130: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

asynchronously in a model weaker than

whiteboards ?

Is it possible to locate the black hole

GRASTA/MAC Tutorial 2015

Page 131: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Communication and Coordination

Vision Face-to-Face Tokens

Whiteboards

Computational Models : Interaction and Communication:

Page 132: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Pebble(s)

CARRY

Tokens

GRASTA/MAC Tutorial 2015

Page 133: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

DROP

GRASTA/MAC Tutorial 2015

Tokens

Page 134: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

PICK UP

GRASTA/MAC Tutorial 2015

Tokens

Page 135: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

asynchronously using identical pebbles ?

TOKEN < WHITEBOARD

Is it possible to locate the black hole

without a map

GRASTA/MAC Tutorial 2015

Page 136: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

asynchronously using identical pebbles ? YES ! -with a team of Δ+1 agents (optimal !) -with one (identical) pebble per agent -with a polynomial number of moves

Is it possible to locate the black hole

TOKENS < WHITEBOARDS

without a map

GRASTA/MAC Tutorial 2015

O(Δ2 m2 n7) !!!

Page 137: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

asynchronously using identical tokens ? YES ! The algorithm is however rather complex

TOKENS < WHITEBOARDS

Is it possible to locate the black hole

without a map

GRASTA/MAC Tutorial 2015

Dobrev, Flocchini, Kralovic, Santoro, Theoretical Computer Science, 2013

Page 138: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

New Directions

" AGENTS MOVING IN TIME-VARYING GRAPHS!

Page 139: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

WIRELESS MOBILE ENTITIES

GRASTA/MAC Tutorial 2015

Page 140: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

WIRELESS MOBILE ENTITIES

GRASTA/MAC Tutorial 2015

Page 141: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Communication Graph

WIRELESS MOBILE ENTITIES WIRELESS MOBILE ENTITIES

GRASTA/MAC Tutorial 2015

Page 142: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

WIRELESS MOBILE ENTITIES

Page 143: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

the network might be always disconnected

end-to-end connectivity does not necessarily hold

communication may be available over time and space making computations feasible

still …

WIRELESS MOBILE ENTITIES

GRASTA/MAC Tutorial 2015

Page 144: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Delay tolerant networks Disruption tolerant networks Challenged networks Opportunistic networks

WIRELESS MOBILE ENTITIES

GRASTA/MAC Tutorial 2015

Modeled as TIME-VARYING GRAPHS

A. Casteigts, P. Flocchini, W. Quattrociocchi, N.Santoro. Time-varying graphs and dynamic networks. IJPEDS 2012

Page 145: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Time-Varying Graph

TVG-entity (node, vehicle, sensor, … )

Page 146: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Edge = connection between two TVG-entities = (possibility of) interaction

Time-Varying Graph

Edge = temporally defined connection with specific properties

Page 147: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

V TVG-entities ==> nodes"E connections between TVG-entities ==> edges "

L properties of connections ==> labels"

E ⊆ V × V × L"

Time-Varying Graph

Page 148: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Connections temporally defined " "

TIME T Z discrete-time systems " R continuous-time systems."

take place over a contiguous time span T ⊆ T " - T lifetime of the system."

Time-Varying Graph

Page 149: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

G = (V , E, T, ψ, ρ, ζ )"" ψ : V × T → {0, 1} node presence function"indicates whether a given node is available at a given time"" ρ : E × T → {0, 1} edge presence function"indicates whether a given edge is available at a given time"

ζ : E × T → T latency function"indicates the time it takes for interaction to take place in a connection if starting at a given date"

Time-Varying Graph (TVG)

Page 150: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Time-Varying Graph

The interval(s) on an edge represent the period of time when it exists.

Page 151: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Time-Varying Graph

Compact graph representation of network dynamics

Page 152: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

t=0

Time-Varying Graphs

Page 153: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

t=1

Time-Varying Graphs

Page 154: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

t=2

Time-Varying Graphs

Page 155: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

t=3

Time-Varying Graphs

Page 156: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

0 1 2 3

Time-Varying Graphs

[0,1) [2,4)

[2,4) [0,3) [0,2)

[0,1)

[1,3)

Page 157: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

0 1 2 3

Footprint of the graph in an interval of time - [0,4) in this case

Time-Varying Graphs

Page 158: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

0 1 2 3

Snapshots at specific times Time-Varying Graphs

[0,1) [2,4)

[2,4) [0,3) [0,2)

[0,1)

[1,3)

Page 159: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

G(t1), G(t2), G(t3), G(t4), …"

sequence of SNAPSHOTS"

EVOLVING GRAPH"

0 1 2 3

Time-Varying Graphs

Page 160: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

G(t1), G(t2), G(t3), G(t4), …"

EVOLVING GRAPH"

0 1 2 3

Time-Varying Graphs

F. Harary and G. Gupta. “Dynamic graph models”. " Mathematical and Computer Modelling, 1997."

Page 161: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

G(t1), G(t2), G(t3), G(t4), …"

EVOLVING GRAPH"

0 1 2 3

Time-Varying Graphs

F. Harary and G. Gupta. “Dynamic graph models”. " Mathematical and Computer Modelling, 1997."

A.Ferreira “Building a reference combinatorial model for MANETs”. IEEE Network, 2007.

Page 162: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Journey: moving on a TVG

B C

D

E

A

Traverse path [A,E,D]

mobile agent

t=0

[0,1) [2,4)

[2,4) [0,3) [0,2)

[0,1)

[1,3)

B C

D

E A

Page 163: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Example

B C

D

E

A

WAIT at E t=1

[0,1) [2,4)

[2,4) [0,3) [0,2)

[0,1)

[1,3)

B C

D

E A

Traverse path [A,E,D]

Page 164: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Example

B C

D

E

A

t=2

[0,1) [2,4)

[2,4) [0,3) [0,2)

[0,1)

[1,3)

B C

D

E A

Traverse path [A,E,D]

t=3

Page 165: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Journey: moving on a TVG

[0,1) [2,4)

[2,4) [0,3) [0,2)

[0,1)

[1,3)

B C

D

E A

Waiting (buffering) Indirect journey

No waiting (no buffering) Direct journey

GRASTA/MAC Tutorial 2015

Page 166: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Journey: moving on a TVG

Journey [A,E,D] at time t=0

[0,1) [2,4)

[2,4) [0,3) [0,2)

[0,1)

[1,3)

B C

D

E A

feasible

unfeasible

Indirect:

Direct:

GRASTA/MAC Tutorial 2015

Page 167: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Journey: moving on a TVG

Even with waiting, the journey might be no feasible

[0,1) [2,4)

[2,4) [0,3) [0,2)

[0,1)

[1,3)

B C

D

E A

GRASTA/MAC Tutorial 2015

Page 168: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015 B C

D

E

A

Task: go to B

t=0

[0,1) [2,4)

[2,4) [0,3) [0,2)

[0,1)

[1,3)

B C

D

E A

Journey: moving on a TVG

Page 169: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015 B C

D

E

A

t=1

[0,1) [2,4)

[2,4) [0,3) [0,2)

[0,1)

[1,3)

B C

D

E A

Task: go to B

Journey: moving on a TVG

Page 170: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015 B C

D

E

A

t=2

[0,1) [2,4)

[2,4) [0,3) [0,2)

[0,1)

[1,3)

B C

D

E A

Task: go to B

Journey: moving on a TVG

Page 171: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015 B C

D

E

A

t=3

[0,1) [2,4)

[2,4) [0,3) [0,2)

[0,1)

[1,3)

B C

D

E A

Task: go to B

Journey: moving on a TVG

the agent is stuck and cannot reach B

Page 172: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

[0,1) [2,4)

[2,4) [0,3) [0,2)

[0,1)

[1,3)

B C

D

E

A

Feasible if waiting

NOT feasible at all at any time

Feasible C A B

D B E

A D E

Starting at time 0, assuming it takes 1 time unit to traverse an edge:

DIRECT JOURNEY

INDIRECT JOURNEY

Journey: temporal path

Page 173: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Journey: expressivity

Interpreting a TVG as an automaton and node labels as alphabet symbols

a feasible journey corresponds to a string of symbols

CBA

AED Feasible if waiting

Feasible C A B

A D E

[0,1) [2,4)

[2,4) [0,3) [0,2)

[0,1)

[1,3)

B C

D

E

A

Page 174: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Interpreting a TVG as an automaton and node labels as alphabet symbols

a feasible journey corresponds to a string of symbols

CBA

AED Feasible if waiting

Feasible C A B

A D E

what LANGUAGES of feasible journeys does the TVG-automaton recognize ?

[0,1) [2,4)

[2,4) [0,3) [0,2)

[0,1)

[1,3)

B C

D

E

A

Journey: expressivity

Page 175: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Interpreting a TVG as an automaton and node labels as alphabet symbols

If waiting IS NOT allowed TVG-automata recognize ALL languages

If waiting IS allowed TVG-automata recognize only REGULAR languages

A. Casteigts, P.Flocchini, E. Godard, N. Santoro, M. Yamashita. On the Expressivity of Time-Varying Graphs. Theoretical Computer Science, 2015

what LANGUAGES of feasible journeys does the TVG-automaton recognize ?

[0,1) [2,4)

[2,4) [0,3) [0,2)

[0,1)

[1,3)

B C

D

E

A

Journey: expressivity

Page 176: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

9:00

9:30 12:10

18:00

19:15

22:00

22:10 22:15

9:00 20:30 A B

C D

E F

G

H

I

Journey: length

GRASTA/MAC Tutorial 2015 smallest duration

shortest A,I,B

foremost A,C,D,E,F

fastest A,G,H,B

min # hops

earliest arrival

(2 hops) (19:15)

(15 minutes)

Page 177: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Network metrics

Classical Measures

Distance Diameter Eccentricity Centrality (betweeness, closeness) Clustering Coefficient …

Page 178: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

GRASTA/MAC Tutorial 2015

Temporal Network metrics

Temporal Measures

Temporal Distance Temporal Diameter Temporal Eccentricity Temporal Centrality (betweeness, closeness) Temporal Clustering Coefficient …

Keeping into account the temporal dimension of the network

Page 179: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

- P. Flocchini, M. Kellett, P.C. Mason, N. Santoro. Searching for Black Holes in Subways. Theory of Computing Systems, 2012.

- Avin, C., Koucký, M., Lotker, Z.: How to explore a fast-changing world (cover time of a simple random walk on evolving graphs). (ICALP 2008).

Mobile Agents in Time-Varying Graphs

EXPLORATION

- P. Flocchini, B. Mans, N. Santoro. On the exploration of time-varying networks. Theoretical Computer Science, 2013.

- D. Ilcinkas, A.M.Wade Exploration of the T -Interval-Connected Dynamic Graphs: The Case of the Ring. (SIROCCO 2013).

- D. Ilcinkas, A.M.Wade. On the Power of Waiting when Exploring Public Transportation Systems. (OPODIS 2011)

GRASTA/MAC Tutorial 2015

Page 180: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Mobile Agents in Time-Varying Graphs

- E. Aaron, D. Krizanc, E. Meyerson. DMVP: Foremost waypoint coverage of Time-Varying Graphs, (WG 2014). - T. Erlebach, M. Hoffmann, F. Kammer On Temporal Graph Exploration. (arXiv 2015).

- P. Flocchini, M. Kellett, P.C. Mason, N. Santoro. Mapping an unfriendly subway system. (FUN 2014)

EXPLORATION

- G.A. Di Luna, S. Dobrev, P. Flocchini, N. Santoro. Exploring 1-interval-connected rings. (arXiv 2015).

- D. Ilcinkas, R. K;asing, A.M.Wade. Exploration of constantly connected dynamic graphs based on cactuses. (SIROCCO 2014).

GRASTA/MAC Tutorial 2015

Page 181: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

The End

GRASTA/MAC Tutorial 2015

Page 182: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Questions ?

GRASTA/MAC Tutorial 2015

Page 183: MOVING AND COMPUTING · 12 Kali Scheme Distributed impl. of Scheme NEC Research I. Scheme Distributed data mining, load balancing 13 The Tube mobile code system David Halls, UK Scheme

Thank you

GRASTA/MAC Tutorial 2015