1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.

Slides:



Advertisements
Similar presentations
Routing Complexity of Faulty Networks Omer Angel Itai Benjamini Eran Ofek Udi Wieder The Weizmann Institute of Science.
Advertisements

How to Schedule a Cascade in an Arbitrary Graph F. Chierchetti, J. Kleinberg, A. Panconesi February 2012 Presented by Emrah Cem 7301 – Advances in Social.
Routing in a Parallel Computer. A network of processors is represented by graph G=(V,E), where |V| = N. Each processor has unique ID between 1 and N.
Jaroslaw Kutylowski 1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Reliable Broadcasting without Collision Detection… … in.
Study Group Randomized Algorithms 21 st June 03. Topics Covered Game Tree Evaluation –its expected run time is better than the worst- case complexity.
Lecture 7: Synchronous Network Algorithms
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Johannes Schneider –1 A Log-Star Distributed Maximal Independent Set Algorithm for Growth-Bounded Graphs Johannes Schneider Roger Wattenhofer TexPoint.
Approximation Algorithms for Unique Games Luca Trevisan Slides by Avi Eyal.
Broadcasting Protocol for an Amorphous Computer Lukáš Petrů MFF UK, Prague Jiří Wiedermann ICS AS CR.
LOCALITY IN DISTRIBUTED GRAPH ALGORITHMS Nathan Linial Presented by: Ron Ryvchin.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Fast Distributed Algorithm for Convergecast in Ad Hoc Geometric Radio Networks Alex Kesselman, Darek Kowalski MPI Informatik.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Online Graph Avoidance Games in Random Graphs Reto Spöhel Diploma Thesis Supervisors: Martin Marciniszyn, Angelika Steger.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Distributed Coloring in Õ(  log n) Bit Rounds COST 293 GRAAL and.
Beyond selfish routing: Network Formation Games. Network Formation Games NFGs model the various ways in which selfish agents might create/use networks.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Mobile Ad Hoc Networks Theory of Interferences, Trade-Offs between.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Mobile Ad Hoc Networks Theory of Data Flow and Random Placement.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Mobile Ad Hoc Networks Mobility (III) 12th Week
Dariusz Kowalski University of Connecticut & Warsaw University Andrzej Pelc University of Quebec en Outaouais Broadcasting in Undirected Ad hoc Radio Networks.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Search Algorithms Winter Semester 2004/ Jan.
Complexity 1 Mazes And Random Walks. Complexity 2 Can You Solve This Maze?
DANSS Colloquium By Prof. Danny Dolev Presented by Rica Gonen
Maximal Independent Set Distributed Algorithms for Multi-Agent Networks Instructor: K. Sinan YILDIRIM.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
Johannes PODC 2009 –1 Coloring Unstructured Wireless Multi-Hop Networks Johannes Schneider Roger Wattenhofer TexPoint fonts used in EMF. Read.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Search Algorithms Winter Semester 2004/ Jan.
Distributed Coloring Discrete Mathematics and Algorithms Seminar Melih Onus November
ACSS 2006, T. Radzik1 Communication Algorithms for Ad-hoc Radio Networks Tomasz Radzik Kings Collage London.
CS4231 Parallel and Distributed Algorithms AY 2006/2007 Semester 2 Lecture 10 Instructor: Haifeng YU.
HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Algorithms for Radio Networks Exercise 11 Stefan Rührup
HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Algorithms for Radio Networks Exercise 12 Stefan Rührup
1 Maximal Independent Set. 2 Independent Set (IS): In a graph G=(V,E), |V|=n, |E|=m, any set of nodes that are not adjacent.
HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Online Routing in Faulty Meshes with Sub-linear Comparative Time and Traffic.
PODC Distributed Computation of the Mode Fabian Kuhn Thomas Locher ETH Zurich, Switzerland Stefan Schmid TU Munich, Germany TexPoint fonts used in.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Search Algorithms Winter Semester 2004/ Nov.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
The Complexity of Distributed Algorithms. Common measures Space complexity How much space is needed per process to run an algorithm? (measured in terms.
Markov Chains and Random Walks. Def: A stochastic process X={X(t),t ∈ T} is a collection of random variables. If T is a countable set, say T={0,1,2, …
Stefan Rührup 1 HEINZ NIXDORF INSTITUTE University of Paderborn, Germany Algorithms and Complexity Competitive Time and Traffic Analysis of Position-based.
Beyond selfish routing: Network Games. Network Games NGs model the various ways in which selfish agents strategically interact in using a network They.
Hwajung Lee. Well, you need to capture the notions of atomicity, non-determinism, fairness etc. These concepts are not built into languages like JAVA,
Vertex Coloring Distributed Algorithms for Multi-Agent Networks
HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Algorithms for Radio Networks Exercise 7 Stefan Rührup
Peer-to-Peer Networks 03 CAN (Content Addressable Network) Christian Schindelhauer Technical Faculty Computer-Networks and Telematics University of Freiburg.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Search Algorithms Winter Semester 2004/ Dec.
Andrea CLEMENTI Radio Networks The Model Broadcast.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. Fast.
1 Distributed Vertex Coloring. 2 Vertex Coloring: each vertex is assigned a color.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
Network Formation Games. NFGs model distinct ways in which selfish agents might create and evaluate networks We’ll see two models: Global Connection Game.
Introduction Wireless Ad-Hoc Network  Set of transceivers communicating by radio.
Theory of Computational Complexity Probability and Computing Lee Minseon Iwama and Ito lab M1 1.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
Randomized Algorithms for Distributed Agreement Problems Peter Robinson.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Search Algorithms Winter Semester 2004/ Dec.
Peer-to-Peer Networks 07 Degree Optimal Networks
Ad Hoc Radio Networks Radio Network is a collection of transmitter-receiver devices (denoted as notes). Each node can transmit data to nodes which exist.
New Characterizations in Turnstile Streams with Applications
Markov Chains Mixing Times Lecture 5
Peer-to-Peer and Social Networks
TexPoint fonts used in EMF.
Peer-to-Peer Networks 08 Kelips and Epidemic Algorithms
Algorithms (2IL15) – Lecture 7
Presentation transcript:

1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/ Dec th Lecture Christian Schindelhauer

Algorithms for Radio Networks 2 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Radio Broadcasting  Broadcasting –A sender distributes a message to n radio stations  Radio Broadcasting –Undirected Graph G=(V,E) describes possible connections If edge {u,v} exists, u can transmit to v and vice versa If no edge exists, then there is no reception and no interference –One frequency, stations communicate in a round model –If more than one neighbored station send at the same time, no signal is received (not even an interference signal)  Main problem: –Graph G=(V,E) is unknown to the participants –Distributed algorithm avoiding conflicts

Algorithms for Radio Networks 3 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Radio Broadcasting without ID  Theorem There is no deterministic broadcasting algorithm for the radio broadcasting problem (without id)  Proof: Consider the following graph: 1.Blue node sends (at any time) a message to the neighbors 2.As soon they are informed, they behave completely synchronously –because they use the same algorithm –so, they send (or do not send) always at the same time 3.Red node does not receive any message.

Algorithms for Radio Networks 4 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer A simple random algorithm (I)  Every station uses the following algorithm  Simple-Random(t) begin if message m is available then for i ← 1 to t do r ← result of a fair coin toss (0/1 with prob. 1/2) if r = 1 then send m to all neighbors fi od fi end

Algorithms for Radio Networks 5 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer A Simple Random Algorithm (II)  D: diameter of the graph  Δ: degree Lemma A neighbor node will be informed in each round with a probability of at least Δ 2  Δ, if at least one neighbor is informed. Proof: 1.The probability that exactly one of the m ≤ Δ informed neighbors sends (without interference) is: Prob. that m-1 neighbors do not send Prob. that one neighbor sends m number of possible senders

Algorithms for Radio Networks 6 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Analyzing Random Algorithms A neighbor node is in formed in a round with probability p ≥ Δ 2  Δ, if at least one neighbor is informed. –Consider any node with distance D to the source –Let (u,u 1,u 2,..,u D ) be a path from the source u to this node –We underestimate the real information flow and consider only the information flow on the shortest path p 1p1p p p p p 1p1p1p1p 1p1p 1 1p1p

Algorithms for Radio Networks 7 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer A Markov-Process for the Spread of Information Time p 1p1p p 1p1p p 1p1p p 1p1p p 1p1p 1 1 p 1p1p p 1p1p Path Lemma For all α>1 and β ≥ 0: If on a path of length D a message advances independently with probability p and stops with probability 1-p, then the probability that the information has not reached the end of the path after t steps, where is at most

Algorithms for Radio Networks 8 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Proof of Lemma (Where we stopped last time...)  Let X t denote the distance which the message advances in t rounds  Then, the probability that we advance exactly i steps is defined as  Since it is a probability we have  The probability that we advance at most D steps is given by  We have seen that the quotient of these probababilities is:

Algorithms for Radio Networks 9 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Proof of the Lemma (continued)  Consider an upper bound S for i: i≤S≤t and choose  Then,  and  This implies

Algorithms for Radio Networks 10 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Proof of Lemma (completed)  Let S=D+   Then for

Algorithms for Radio Networks 11 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Run Time of Simple-Random  Theorem For appropriate c>1 we have: Simple-Random informs the complete network with probability of at least 1-O(n  k ) within time c 2 Δ / Δ ( D+ log n).  Beweis: –Consider node and a path to the source of length at most D –Consider information flow on the path p ≥ Δ 2  Δ –Use α=2 and β = (k+1) log n –The above lemma shows the probability to succeed on one path is given by at most –To upperbound the probability of failure for all n nodes we have to multiply this term by n yielding –This error bounds refers to the time bound

Algorithms for Radio Networks 12 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Extending the Deterministic Model  Model too restrictiv  New deterministic model: –Every of the n players knwos his unique id number from the set {1,..,n}  Probabilistic model: –Die number n of players is known –The maximal degree Δ is known –But no ID is available

Algorithms for Radio Networks 13 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Decay (I)  Idee: randomized thinning out of the players Decay(k,m) begin j ← 1 repeat j ← j + 1 Send message to all neighbors r ← result of fair coin toss (0/1 with prob. 1/2) until r=0 oder j > k end

Algorithms for Radio Networks 14 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Decay (II)  d neighbors are informed  Alle d neighbors start simultanously (k,m)  P(k,d):Prob. that message is received by d neighbors within at most k rounds: Lemma For d≥2 :

Algorithms for Radio Networks 15 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer BGI-Broadcast [Bar-Yehuda, Goldreich, Itai 1987]  All informed players have synchronized round counters, i.e. –Time is attached to each message –and incremented in each round BGI-Broadcast( Δ,  ) begin k ← 2 log Δ t ← 2 log (N/  ) wait until message arrives for i ← 1 to t do wait until (Time mod k) = 0 Decay(k,m) od end

Algorithms for Radio Networks 16 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer BGI-Broadcast Analyse (I) Theorem BGI-Broadcast informs all nodes with probability 1-  in time O((D+log(n/  )) log Δ) Beweis: –Assume t is arbitrarily large –Consider delay T U on the path to a node u with distance of at most D Probability that node is not informed If –choose α=2 and β = 2 log (n/  ) yielding –Prob.

Algorithms for Radio Networks 17 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Changing the Game: New Models  Probabilistic mode: –Number n of players is known –The maximal degree Δ is known –But no ID  Resctriction: What if the maximal degree is not known? –Corollary (Proof as an exercise) BGI-Broadcast informs all nodes with probability 1-2  in time O((D+log(n/  )) log n)  Determinististic model: –Each of the n players knows a unique identifier (id) of the set {1,..,n} and knows n

Algorithms for Radio Networks 18 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Lower Bound for Deterministic Radio Broadcasting (I)  Let D be the maximimal distance of a node from the source.  Theorem For every distributed deterministic Radio-Broadcasting algorithm using IDs there is a graph with D=2 that cannot be completely informed within time n-2.  Proof strategy: –Given deterministic algorithm –Construct graph –Prove that the time bound is wrong

Algorithms for Radio Networks 19 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Lower Bounds for Radio Broadcasting (II)  For S ⊆ {1,..,n} define G S as –V = {0,..,n+1} –E = {{0,i} | i  {1,..n}}  {{i,n+1} | i  S}  Deterministic model: –Each of the n players knows his unique identifier ID(i) from the set {0,..,n+1} –Each node has his own algorithm defined by A(i,t) –A(i,t) = 1, if player i sends in round t –A(i,t) = 0, if player i does not send in round

Algorithms for Radio Networks 20 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Lower Bounds for Radio Broadcasting (III)  The good guys choose algorithms A  The bad boys (adversary) choose a set S which is the set of players which have an edge to the target node n+1 –We are bad and find S≠  for each algorithm algorithm A (we know A)  Concessions to A –Player i has ID(i)=i (advantage for the algorithm) –A may start in round 0 with A(i,0) = 1 –Then in round 1 all nodes {1,..,n} are informed  Task for A starting from round 1: –Inform player n+1 in at most n-1 rounds

Algorithms for Radio Networks 21 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer The Hitting Game (I) A(1,t) A(2,t) A(3,t) A(4,t) A(5,t) A(6,t) Given n  (n-1) -matrix A inserts 0 or 1 in each cell B may erase up to m=n-1 rows, i.e. set to 0 A wins, if there is a column with exactly one entry 1 B wins, if every column has only 0s or at least two 1s A wins

Algorithms for Radio Networks 22 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer The Hitting Game (II) A(1,t) A(2,t) A(3,t) A(4,t) A(5,t) A(6,t) B wins Given n  (n-1) -matrix A inserts 0 or 1 in each cell B may erase up to m=n-1 rows, i.e. set to 0 A wins, if there is a column with exactly one entry 1 B wins, if every column has only 0s or at least two 1s

Algorithms for Radio Networks 23 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer The Hitting Game (III) Winning Strategy for B B-wins(A,n) begin S ← {1,…,n} while there exists a column in A with exactly one entry 1 do t ← column with exactly one entry 1 in A(1,t),A(2,t),…,A(n,t) i ← row with A(i,t) = 1 S ← S \ {i} A(i,t) ← 0, for all t  {1,..,n-1} od end A(1,t) A(2,t) A(3,t) A(4,t) A(5,t) A(6,t) B wins

Algorithms for Radio Networks 24 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer The Hitting Game (III) Winning Strategy for B B-wins(A,n) begin S ← {1,…,n} while there exists a column in A with exactly one entry 1 do t ← column with exactly one entry 1 in A(1,t),A(2,t),…,A(n,t) i ← row with A(i,t) = 1 S ← S \ {i} A(i,t) ← 0, for all t  {1,..,n-1} od end Lemma For each matrix A the adversary B wins. Proof: 1.After termination of while P do.. od we have ¬P i.e. there is now column in A with exactly one entry 1 S≠  while loop is used for at most (n  1) rounds, since each column is treated only at most once and the number of columns is n-1

Algorithms for Radio Networks 25 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Lower Bound for Radio Broadcasting  The good guys choose algorithms A  The bad boys (adversary) choose a set S which is the set of players which have an edge to the target node n+1 –We are bad and find S≠  for each algorithm algorithm A (we know A) –We play „B-wins“ and receive S –The graph is connected since S≠  –In each of the n-1 rounds either none or at least two of the players send

Algorithms for Radio Networks 26 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Determinism ersus Probabilism  Theorem For every distributed deterministic Radio-Broadcasting algorithm using IDs there is a graph with D=2 that cannot be completely informed within time n-2.  Theorem BGI-Broadcast informs all nodes with probability 1-  in time O((D+log(n/  )) log Δ) for any e>0.  Theorem For any constant  >0 BGI-Broadcast informs all nodes of a graph with D=2 with probability 1-  in time O((log n) 2 ).

27 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Merry Christmas, happy holidays, happy new year,... and all the rest Thanks for your attention and see you next year End of 10th lecture Next lecture:Mi 11 Jan 2006, 4pm, F1.110 Next exercise class: Tu 20 Dec 2005, 1.15 pm, F2.211 or Th 15 Dec 2005, 1.15 pm, F1.110 Next mini examMo 09 Jan 2006, 2pm, FU.511