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.

Slides:



Advertisements
Similar presentations
Chapter 5: Tree Constructions
Advertisements

Distributed Leader Election Algorithms in Synchronous Ring Networks
Efficient access to TIN Regular square grid TIN Efficient access to TIN Let q := (x, y) be a point. We want to estimate an elevation at a point q: 1. should.
Approximation, Chance and Networks Lecture Notes BISS 2005, Bertinoro March Alessandro Panconesi University La Sapienza of Rome.
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.
5/5/20151 Mobile Ad hoc Networks COE 549 Transmission Scheduling II Tarek Sheltami KFUPM CCSE COE
Minimum Spanning Trees
Parallel Scheduling of Complex DAGs under Uncertainty Grzegorz Malewicz.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Optimization of Pearl’s Method of Conditioning and Greedy-Like Approximation Algorithm for the Vertex Feedback Set Problem Authors: Ann Becker and Dan.
Lectures on Network Flows
A Novel Cluster-based Routing Protocol with Extending Lifetime for Wireless Sensor Networks Slides by Alex Papadimitriou.
LOCALITY IN DISTRIBUTED GRAPH ALGORITHMS Nathan Linial Presented by: Ron Ryvchin.
1 Maximal Independent Set. 2 Independent Set (IS): In a graph, any set of nodes that are not adjacent.
Computational problems, algorithms, runtime, hardness
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
1 Greedy Algorithms. 2 2 A short list of categories Algorithm types we will consider include: Simple recursive algorithms Backtracking algorithms Divide.
CPSC 668Set 3: Leader Election in Rings1 CPSC 668 Distributed Algorithms and Systems Spring 2008 Prof. Jennifer Welch.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Distributed Coloring in Õ(  log n) Bit Rounds COST 293 GRAAL and.
This material in not in your text (except as exercises) Sequence Comparisons –Problems in molecular biology involve finding the minimum number of edit.
ETH Zurich – Distributed Computing Group Roger Wattenhofer 1ETH Zurich – Distributed Computing – Christoph Lenzen Roger Wattenhofer Minimum.
Leader Election in Rings
Online Data Gathering for Maximizing Network Lifetime in Sensor Networks IEEE transactions on Mobile Computing Weifa Liang, YuZhen Liu.
Study Group Randomized Algorithms Jun 7, 2003 Jun 14, 2003.
Steiner trees Algorithms and Networks. Steiner Trees2 Today Steiner trees: what and why? NP-completeness Approximation algorithms Preprocessing.
Maximal Independent Set Distributed Algorithms for Multi-Agent Networks Instructor: K. Sinan YILDIRIM.
1 Introduction to Approximation Algorithms Lecture 15: Mar 5.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
Minimum Spanning Trees. Subgraph A graph G is a subgraph of graph H if –The vertices of G are a subset of the vertices of H, and –The edges of G are a.
Randomized Algorithms Morteza ZadiMoghaddam Amin Sayedi.
Efficient Gathering of Correlated Data in Sensor Networks
Message-Optimal Connected Dominating Sets in Mobile Ad Hoc Networks Paper By: Khaled M. Alzoubi, Peng-Jun Wan, Ophir Frieder Presenter: Ke Gao Instructor:
Distributed Coloring Discrete Mathematics and Algorithms Seminar Melih Onus November
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Approximating the Minimum Degree Spanning Tree to within One from the Optimal Degree R 陳建霖 R 宋彥朋 B 楊鈞羽 R 郭慶徵 R
DATA MINING LECTURE 13 Pagerank, Absorbing Random Walks Coverage Problems.
Consensus and Its Impossibility in Asynchronous Systems.
On Non-Disjoint Dominating Sets for the Lifetime of Wireless Sensor Networks Akshaye Dhawan.
Connected Dominating Sets. Motivation for Constructing CDS.
Graph Colouring L09: Oct 10. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including the famous.
1 Leader Election in Rings. 2 A Ring Network Sense of direction left right.
1 WEEK 11 Graphs III Network Flow Problems A Simple Maximum-Flow Algorithm Izmir University of Economics.
Approximation, Chance and Networks Lecture Notes BISS 2005, Bertinoro March Alessandro Panconesi University La Sapienza of Rome.
Vertex Coloring Distributed Algorithms for Multi-Agent Networks
Two Connected Dominating Set Algorithms for Wireless Sensor Networks Overview Najla Al-Nabhan* ♦ Bowu Zhang** ♦ Mznah Al-Rodhaan* ♦ Abdullah Al-Dhelaan*
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS Spring 2014 Prof. Jennifer Welch CSCE 668 Set 3: Leader Election in Rings 1.
Andrea CLEMENTI Radio Networks The Model Broadcast.
1 Fault-Tolerant Consensus. 2 Communication Model Complete graph Synchronous, network.
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.
Introduction Wireless Ad-Hoc Network  Set of transceivers communicating by radio.
An algorithmic proof of the Lovasz Local Lemma via resampling oracles Jan Vondrak IBM Almaden TexPoint fonts used in EMF. Read the TexPoint manual before.
Hongyu Liang Institute for Theoretical Computer Science Tsinghua University, Beijing, China The Algorithmic Complexity.
Distributed Algorithms for Network Diameter David Peleg, Liam Roditty and Elad Tal.
– Clustering TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAA A A A.
Time Synchronization in based MANETs Ten H. Lai Ohio State University.
Theory of Computational Complexity Probability and Computing Chapter Hikaru Inada Iwama and Ito lab M1.
Greedy Algorithms.
Minimum Dominating Set Approximation in Graphs of Bounded Arboricity
Maximal Independent Set
Algorithms for COOPERATIVE DS: Leader Election in the MPS model
Maximal Independent Set
Connected Dominating Sets
Advanced Analysis of Algorithms
Introduction Wireless Ad-Hoc Network
Time Synchronization in based MANETs
Instructor: Aaron Roth
Constructing a m-connected k-Dominating Set in Unit Disc Graphs
Locality In Distributed Graph Algorithms
Presentation transcript:

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

3 Maximal Independent Set (MIS): An independent set that is no subset of any other independent set

4 Maximum Independent Set: A MIS of maximum size A graph G……a MIS of G… …a MIS of max size Remark: finding a maximum IS is an NP- hard problem, while a MIS can be found in polynomial time!

5 Applications in DS: network topology In a network graph consisting of nodes representing processors, a MIS defines a set of processors which can operate in parallel without interference For instance, in wireless ad hoc networks, to avoid interferences, a conflict graph is built, and a MIS on that defines a clustering of the nodes enabling efficient routing

6 Applications in DS: network monitoring A MIS is always a Dominating Set (DS) of the graph (the converse in not true, unless the DS is independent), namely every node in G is at distance at most 1 from at least one node in the MIS (otherwise the MIS could be enlarged, against the assumption of maximality!)  In a network graph G consisting of nodes representing processors, a MIS defines a set of processors which can monitor the correct functioning of all the nodes in G (in such an application, one should find a minimum MIS)

7 A Sequential Greedy algorithm Suppose that will hold the final MIS Initially

8 Pick a node and add it to Phase 1:

9 Remove and neighbors

10 Remove and neighbors

11 Pick a node and add it to Phase 2:

12 Remove and neighbors

13 Remove and neighbors

14 Repeat until all nodes are removed Phases 3,4,5,…:

15 Repeat until all nodes are removed No remaining nodes Phases 3,4,5,…,x:

16 At the end, set will be a MIS of

17 Worst case graph (for number of phases): n nodes, n-1 phases Running time of the algorithm: Θ(m) Number of phases of the algorithm: O(n)

18 Homework Can you see a distributed version of the algorithm just given?

19 A General Algorithm For Computing MIS Same as the sequential greedy algorithm, but at each phase, instead of a single node, we now select any independent set (this selection should be seen as a black box at this stage)  The underlying idea is that this approach will be useful for a distributed algorithm

20 Suppose that will hold the final MIS Initially Example:

21 Find any independent set Phase 1: And insert to :

22 remove and neighbors

23 remove and neighbors

24 remove and neighbors

25 Phase 2: Find any independent set And insert to : On new graph

26 remove and neighbors

27 remove and neighbors

28 Phase 3: Find any independent set And insert to : On new graph

29 remove and neighbors

30 remove and neighbors No nodes are left

31 Final MIS

32 1.The algorithm is correct, since independence and maximality follow by construction 2.The number of phases depends on the choice of the independent set in each phase: The larger the subgraph removed at the end of a phase, the smaller the residual graph, and then the faster the algorithm. Then, how do we choose such a set, so that independence is guaranteed and the convergence is fast? Analysis

33 Example: If is MIS, 1 phase is needed Example: If each contains one node, phases may be needed (sequential greedy algorithm)

34 A Randomized Sync. Distributed Algorithm Follows the general MIS algorithm paradigm, by choosing randomly at each phase the independent set, in such a way that it is expected to remove many nodes from the current residual graph Works with synchronous, anonymous, uniform models Remark: It is randomized in a Las Vegas sense, i.e., it uses randomization only to reduce the expected running time, but always terminates with a correct result

35 Let be the maximum node degree in the whole graph 1 2 Suppose that d is known to all the nodes (this may require a pre-processing)

36 Elected nodes are candidates for independent set Each node elects itself with probability At each phase : 1 2

37 However, it is possible that neighbor nodes are elected simultaneously (nodes can check it out by testing their neighborhood) Problematic nodes

38 All the problematic nodes step back to the unelected status, and proceed to the next phase. The remaining elected nodes form independent set

39 Success for a node in phase : disappears at end of phase (enters or ) Analysis: 1 2 No neighbor elects itself A good scenario that guarantees success elects itself

40 Basics of Probability Let A and B denote two events in a probability space; let 1.  A (i.e., not A) be the event that A does not occur; 2.A Ո B be the event that both A and B occur; 3.A U B be the event that A or (non-exclusive) B occurs. Then, we have that: 1.P(  A)=1-P(A); 2.P(A Ո B)=P(A)P(B) (if A and B are independent) 3.P(A U B)=P(A)+P(B)-P(A Ո B) (if A and B are mutually exclusive, then P(A Ո B)=0, and P(A U B)=P(A)+P(B)).

41 Fundamental inequalities

42 Probability for a node z of success in a phase: P(success z) = P((z enters I k ) OR (z enters N(I k )) i.e., is at least the probability that it enters I k, i.e., it elects itself AND no neighbor elects itself, i.e. (notice that events are independent): 1 2 No neighbor should elect itself elects itself P(success z) ≥ p(1-p) y (recall that p=1/d)

43 Probability of success for a node in a phase: At least For First (left) ineq. with t =-1

44 Therefore, node disappears at the end of phase with probability at least 1 2  Node z does not disappear at the end of phase k with probability at most

45 after phases Definition: Bad event for node : node did not disappear This happens with probability P(AND k=1,..,4ed lnn (z does not disappear at the end of phase k)) i.e., at most: (first (right) ineq. with t =-1 and n =2ed) Independent events

46 after phases Bad event for G: at least one node did not disappear This happens with probability (notice that events are not mutually exclusive): P(OR x  G (bad event for x)) ≤

47 within phases Good event for G: all nodes disappear This happens with probability: (i.e., with high probability)

48 Total number of phases: # rounds for each phase: 3 1.In round 1, each node tries to elect itself and notifies neighbors; 2.In round 2, each node receives notifications from neighbors, decide whether it is in I k, and notifies neighbors; 3.In round 3, each node receiving notifications from elected neighbors, realizes to be in N(I k ), notifies its neighbors about that, and stops.  total # of rounds: (w.h.p.) Time complexity

49 Homework Can you provide a good bound on the number of messages?