Robustness of the rotor-router mechanism E. Bampas 1 , 2 , L. G - - PowerPoint PPT Presentation

robustness of the rotor router mechanism
SMART_READER_LITE
LIVE PREVIEW

Robustness of the rotor-router mechanism E. Bampas 1 , 2 , L. G - - PowerPoint PPT Presentation

Robustness of the rotor-router mechanism E. Bampas 1 , 2 , L. G asieniec 3 , R. Klasing 1 , A. Kosowski 1 , 4 , T. Radzik 5 1 LaBRI, CNRS / INRIA / Univ. of Bordeaux, France 2 School of Elec. & Comp. Eng., National Technical Univ. of Athens,


slide-1
SLIDE 1

Robustness of the rotor-router mechanism

  • E. Bampas1,2, L. G ˛

asieniec3, R. Klasing1, A. Kosowski1,4, T. Radzik5

1 LaBRI, CNRS / INRIA / Univ. of Bordeaux, France 2 School of Elec. & Comp. Eng., National Technical Univ. of Athens, Greece 3 Dept of Computer Science, Univ. of Liverpool, UK 4 Dept of Algorithms and System Modeling, Gdańsk Univ. of Technology, Poland 5 Dept of Computer Science, King’s College London, UK

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 1/17

slide-2
SLIDE 2

Introduction

Anonymous graphs (no node labels, but local port numbering) Exploration Agent with no operational memory Fault tolerance

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 2/17

slide-3
SLIDE 3

The rotor-router mechanism

Each node is equipped with a pointer

d 1 2 3 d−1

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 3/17

slide-4
SLIDE 4

The rotor-router mechanism

Each node is equipped with a pointer Incoming robot first increments the pointer,

d 1 2 3 d−1

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 3/17

slide-5
SLIDE 5

The rotor-router mechanism

Each node is equipped with a pointer Incoming robot first increments the pointer, then follows the pointer

d 1 2 3 d−1

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 3/17

slide-6
SLIDE 6

Example

a c f e d b

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 4/17

slide-7
SLIDE 7

Example

a c f e d b

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 4/17

slide-8
SLIDE 8

Example

a c f e d b

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 4/17

slide-9
SLIDE 9

Example

a c f e d b

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 4/17

slide-10
SLIDE 10

Example

a c f e d b

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 4/17

slide-11
SLIDE 11

Known facts

The agent visits each node infinitely many times It takes at most 2mD steps before the agent stabilizes into an Euler tour of the corresponding symmetric-directed graph After the stabilization period, the agent keeps repeating the same Euler tour No nested repetitions of arc traversals

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 5/17

slide-12
SLIDE 12

Known facts

The agent visits each node infinitely many times It takes at most 2mD steps before the agent stabilizes into an Euler tour of the corresponding symmetric-directed graph After the stabilization period, the agent keeps repeating the same Euler tour No nested repetitions of arc traversals

(u, v) (u, v)

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 5/17

slide-13
SLIDE 13

Known facts

The agent visits each node infinitely many times It takes at most 2mD steps before the agent stabilizes into an Euler tour of the corresponding symmetric-directed graph After the stabilization period, the agent keeps repeating the same Euler tour No nested repetitions of arc traversals

possible

(u, v) (u, v) (x, y) (x, y)

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 5/17

slide-14
SLIDE 14

Known facts

The agent visits each node infinitely many times It takes at most 2mD steps before the agent stabilizes into an Euler tour of the corresponding symmetric-directed graph After the stabilization period, the agent keeps repeating the same Euler tour No nested repetitions of arc traversals

possible

(u, v) (u, v) (x, y) (x, y)

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 5/17

slide-15
SLIDE 15

Known facts

The agent visits each node infinitely many times It takes at most 2mD steps before the agent stabilizes into an Euler tour of the corresponding symmetric-directed graph After the stabilization period, the agent keeps repeating the same Euler tour No nested repetitions of arc traversals

impossible

(u, v) (u, v) (x, y) (x, y)

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 5/17

slide-16
SLIDE 16

Related work

Priezzhev, Dhar, Dhar, Krishnamurthy: Eulerian walkers as a model of self-organized

  • criticality. Phys. Rev. Lett. 77(25), 5079-5082 (1996)

introduction of the model Wagner, Lindenbaum, Bruckstein: Smell as a computational resource - a lesson we can learn from the ant. ISTCS 1996, 219-230 Wagner, Lindenbaum, Bruckstein: Distributed covering by ant-robots using evaporating

  • traces. IEEE Trans. Robot. Autom. 15, 918-933 (1999)

cover all edges in O(nm) steps Bhatt, Even, Greenberg, Tayar: Traversing directed Eulerian mazes. J. Graph Algorithms

  • Appl. 6(2), 157-173 (2002)

enter an Euler tour in O(nm) steps Yanovski, Wagner, Bruckstein: A distributed ant algorithm for efficiently patrolling a

  • network. Algorithmica 37(3), 165-186 (2003)

enter an Euler tour in 2mD steps

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 6/17

slide-17
SLIDE 17

Main question

Assuming the rotor-router has stabilized, how long does it take to recover from potential pointer faults or dynamic changes in the graph? Already known answer: the agent will enter a new Euler tour in at most 2mD steps More refined answer, e.g. in terms of number of faults?

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 7/17

slide-18
SLIDE 18

Faults in port pointers

initially: after fault:

5 1 2 3 4 5 1 2 3 4

pointers may be changed to point to arbitrary edges

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 8/17

slide-19
SLIDE 19

Addition of new edges

initially: after fault:

5 1 2 3 4 6 1 2 3 5 4

edges may be added in arbitrary positions in the cyclic orders maybe combined with a pointer change

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 9/17

slide-20
SLIDE 20

Deletion of an edge

initially: after fault:

5 1 2 3 4 4 1 2 3

an edge may be deleted maybe combined with a pointer change

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 10/17

slide-21
SLIDE 21

Leading tree

r v

Current set of pointers: F = {πv : v ∈ V} Focus on the structure of Fr = F \ πr (r: current node) Component of Fr containing r is an in-bound tree rooted at r (leading tree) Other components: in-bound trees with root cycles

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 11/17

slide-22
SLIDE 22

Properties of the leading tree (I)

r v

A node never leaves the leading tree A node v joins the leading tree at the moment the agent visits an ancestor of v

  • Thm. All nodes in the neighborhood of the leading tree are

visited within the next 2m steps

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 12/17

slide-23
SLIDE 23

Properties of the leading tree (I)

r u v

A node never leaves the leading tree A node v joins the leading tree at the moment the agent visits an ancestor of v

  • Thm. All nodes in the neighborhood of the leading tree are

visited within the next 2m steps

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 12/17

slide-24
SLIDE 24

Properties of the leading tree (II)

r

  • Cor. Assuming the leading tree spans all nodes, an Euler tour

is traversed in the next 2m steps The inverse also holds

  • Def. Stabilization time: the first step when the leading tree

spans all nodes

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 13/17

slide-25
SLIDE 25

Main theorem

r v

  • Def. Length of an arc e is 0 iff e ∈ Fr, otherwise 1
  • Thm. If the distance from a node v to the current node r is k,

then node v joins the leading tree within 2km steps

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 14/17

slide-26
SLIDE 26

Main theorem

r v

  • Def. Length of an arc e is 0 iff e ∈ Fr, otherwise 1
  • Thm. If the distance from a node v to the current node r is k,

then node v joins the leading tree within 2km steps

r v w

k − 1

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 14/17

slide-27
SLIDE 27

Robustness properties

Assuming the rotor-router has stabilized to some Euler tour:

  • Thm. The system recovers from k pointer faults within

2m min{k, D} steps

  • Thm. The system recovers from k edge additions within

2m min{2k, D} steps

  • Thm. If the deletion of some edge e does not disconnect the

graph, then the system recovers from the deletion of e within 2γm steps (γ is the length of the smallest cycle containing e)

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 15/17

slide-28
SLIDE 28

Lower bounds

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 16/17

slide-29
SLIDE 29

Conclusions and open problems

Structural properties of the rotor-router Application to bounding recovery time from faults/dynamic changes Analyze different fault models? (e.g., changes in local port

  • rders)

Extend the leading tree concept to the case of multiple agents?

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 17/17

slide-30
SLIDE 30

Conclusions and open problems

Structural properties of the rotor-router Application to bounding recovery time from faults/dynamic changes Analyze different fault models? (e.g., changes in local port

  • rders)

Extend the leading tree concept to the case of multiple agents?

Thank you

Evangelos Bampas---OPODIS 2009, Nîmes, France, December 15-18, 2009 17/17