Optimal Exploration of Small Rings Stéphane Devismes VERIMAG UMR 5104 Univ. Joseph Fourier Grenoble, France Talk by Franck Petit, Univ. Pierre et Marie Curie - Paris 6, France Context o A team of k “weak” robots evolving into a ring of n nodes o o o o WRAS 2010 Autonomous Anonymous Oblivious Disoriented : No central authority : Undistinguishable : No mean to know the past : No mean to agree on a common direction or orientation 2 Context o A team of k “weak” robots evolving into a ring of n nodes o o WRAS 2010 Atomicity : In every configuration, each robot is located at exactly one node : In every configuration, each node may Weak Multiplicity contain some robots (a robot cannot detect the exact number of robots located at each node but it is able to detect if there are zero, one, or more) 3 Context o A team of k “weak” robots evolving into a ring of n nodes o SSM o The k’ activated robots execute the cycle: 1. 2. 3. WRAS 2010 : In every configuration, k’ robots are activated (0 < k’ ≤ k) Look : Instantaneous snapshot with multiplicity detection on this observation, decides Compute: Based to either stay its idledestination or move to one of Move : Move toward the neighboring nodes 4 Problem: Exploration Starting from a configuration where no two robots are located at the same node: o Exploration: Each node must be visited by at least one robot o Termination: Eventually, every robot stays idle o WRAS 2010 Performance: Number of robots (k<n) 5 Related works (Deterministic) o Tree networks Ω(n) robots are necessary in general A deterministic algorithm with O(log n/log log n) robots, assuming that Δ ≤ 3 [Flocchini, Ilcinkas, Pelc, Santoro, SIROCCO 08] o Ring networks Θ(log n) robots are necessary and sufficient, provided that n and k are coprime A deterministic algorithm for k ≥ 17 [Flocchini, Ilcinkas, Pelc, Santoro, OPODIS 07] WRAS 2010 6 Related works (Probabilistic) o WRAS 2010 Ring networks [Devismes, Petit, Tixeuil, SIROCCO 2010] 4 robots are necessary For ring of size n>8, 4 robots are sufficient to solve the problem 7 Contribution Question. Are 4 probabilistic robots necessary and sufficient to explore any ring of any size n ? Remark. • The problem is not defined for n < 4 • For n = 4, no algorithm required Contribution. • Algorithm for 5 ≤ n ≤ 8 • Corollary: 4 probabilistic robots are necessary and sufficient to explore any ring of any size n WRAS 2010 8 Definitions Tower. A node with at least two robots. k≥2 F. Petit – SIROCCO 2009 9 Definitions Segment. A maximal non-empty elementary path of occupied nodes. A 1-segment F. Petit – SIROCCO 2009 a 2-segment 10 Definitions Hole. A maximal non-empty elementary path of free nodes. F. Petit – SIROCCO 2009 11 Definitions Arrow. A 1-segment, followed by a hole, a tower, and a 1-segment. Head Tail 1 arrow F. Petit – SIROCCO 2009 of length 2 12 Definitions Arrow. A 1-segment, followed by a hole, a tower, and a 1-segment. Primary arrow F. Petit – SIROCCO 2009 13 Definitions Arrow. A 1-segment, followed by a hole, a tower, and a 1-segment. final arrow F. Petit – SIROCCO 2009 14 Algorithm: Overview o 3 main steps: Phase I: Initial configuration 4-segment Phase II: 4-segment primary arrow Invariant: 4-segment or primary arrow Phase III: Primary arrow final arrow o Invariant: no arrow Invariant: increasing arrow (2 special cases) Let start with phase II and III, it’s easier … WRAS 2010 15 Algorithm: Phase II o Phase II: 4-segment primary arrow Invariant: 4-segment or primary arrow Probabilistic moves WRAS 2010 16 Algorithm: Phase II o Phase II: 4-segment primary arrow Invariant: 4-segment or primary arrow Primary arrow WRAS 2010 17 Algorithm: Phase III o Phase III: Primary arrow final arrow Invariant: increasing arrow Deterministic move WRAS 2010 18 Algorithm: Phase III o Phase III: Primary arrow final arrow WRAS 2010 Invariant: increasing arrow 19 Algorithm: Phase III o Phase III: Primary arrow final arrow WRAS 2010 Invariant: increasing arrow 20 Algorithm: Phase III o Phase III: Primary arrow final arrow WRAS 2010 Invariant: increasing arrow 21 Algorithm: Phase III o Phase III: Primary arrow final arrow Invariant: increasing arrow Termination WRAS 2010 22 Algorithm: Back to Phase I o Phase I: Initial configuration 4-segment o Principle: WRAS 2010 Invariant: no arrow No symmetry: Deterministic moves Symmetry: Probabilistic or deterministic moves 23 Phase I: no symmetry o There exists a unique largest segment S: WRAS 2010 move toward S following the shortest neighboring hole 24 Phase I: no symmetry o There exists a unique largest segment S: move toward S following the shortest neighboring hole Ambiguity: Decision taken by an adversary WRAS 2010 25 Phase I: no symmetry o There exists a unique largest segment S: move toward S following the shortest neighboring hole Ambiguity: Decision taken by an adversary WRAS 2010 26 Phase I: no symmetry o There exists a unique largest segment S: WRAS 2010 move toward S following the shortest neighboring hole 27 Phase I: symmetry Case by Case Study WRAS 2010 28 Phase I: n = 5 o No symmetry WRAS 2010 Initial configuration: a 4-segment Phase I & II 29 Phase I: n = 6 o Only one symmetry is initially possible The 2 special cases Stop WRAS 2010 Stop 30 Phase I: n = 7 o WRAS 2010 Only one symmetry is initially possible 31 Phase I: n = 8 o Three symmetries are initially possible: (a) WRAS 2010 (b) (c) 32 Phase I: n = 8, Case (a) Case (c) WRAS 2010 33 Phase I: n = 8, Case (b) Case (c) WRAS 2010 34 Phase I: n = 8, Case (c) (c) o o WRAS 2010 Really complex!!! See the paper… 35 Conclusion o General Result: o Future works: WRAS 2010 4 probabilistic robots are necessary and sufficient to solve the exploration of any anonymous ring Convergence time (experimental result:O(n) moves) Full asynchronous model Other (regular) topologies 36 Conclusion Thank you. WRAS 2010 37
© Copyright 2026 Paperzz