1 Min-cut for Undirected Graphs Given an undirected graph, a global min-cut is a cut (S,V-S) minimizing the number of crossing edges, where a crossing.

Slides:



Advertisements
Similar presentations
Connectivity - Menger’s Theorem Graphs & Algorithms Lecture 3.
Advertisements

Introduction to Graphs
Minimum Spanning Tree Sarah Brubaker Tuesday 4/22/8.
NP-Completeness: Reductions
EMIS 8374 Vertex Connectivity Updated 20 March 2008.
1 Lecture 5 (part 2) Graphs II Euler and Hamiltonian Path / Circuit Reading: Epp Chp 11.2, 11.3.
Lectures on Network Flows
CSL758 Instructors: Naveen Garg Kavitha Telikepalli Scribe: Manish Singh Vaibhav Rastogi February 7 & 11, 2008.
Graph Clustering. Why graph clustering is useful? Distance matrices are graphs  as useful as any other clustering Identification of communities in social.
Lecture 21: Spectral Clustering
Discussion #36 Spanning Trees
Graph Algorithms: Minimum Spanning Tree We are given a weighted, undirected graph G = (V, E), with weight function w:
Karger’s Min-Cut Algorithm Amihood Amir Bar-Ilan University, 2009.
Lecture 12 Minimum Spanning Tree. Motivating Example: Point to Multipoint Communication Single source, Multiple Destinations Broadcast – All nodes in.
Applications of Depth-First Search
Study Group Randomized Algorithms Jun 7, 2003 Jun 14, 2003.
Prize Collecting Cuts Daniel Golovin Carnegie Mellon University Lamps of ALADDIN 2005 Joint work with Mohit Singh & Viswanath Nagarajan.
Randomness in Computation and Communication Part 1: Randomized algorithms Lap Chi Lau CSE CUHK.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 11 Instructor: Paul Beame.
Complexity ©D.Moshkovitz 1 Paths On the Reasonability of Finding Paths in Graphs.
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.
Introduction to Graph Theory
1 Introduction to Randomized Algorithms Srikrishnan Divakaran DA-IICT.
1.1 Data Structure and Algorithm Lecture 13 Minimum Spanning Trees Topics Reference: Introduction to Algorithm by Cormen Chapter 13: Minimum Spanning Trees.
Design and Analysis of Computer Algorithm September 10, Design and Analysis of Computer Algorithm Lecture 5-2 Pradondet Nilagupta Department of Computer.
Theory of Computing Lecture 10 MAS 714 Hartmut Klauck.
A Randomized Algorithm for Minimum Cuts Andreas Klappenecker.
1 Introduction to Randomized Algorithms Srikrishnan Divakaran DA-IICT.
APPROXIMATION ALGORITHMS VERTEX COVER – MAX CUT PROBLEMS
Graph limit theory: Algorithms László Lovász Eötvös Loránd University, Budapest May
UNC Chapel Hill Lin/Foskey/Manocha Minimum Spanning Trees Problem: Connect a set of nodes by a network of minimal total length Some applications: –Communication.
Applications of the Max-Flow Min-Cut Theorem. S-T Cuts SF D H C A NY S = {SF, D, H}, T={C,A,NY} [S,T] = {(D,A),(D,C),(H,A)}, Cap [S,T] =
Dijkstra’s Algorithm. Announcements Assignment #2 Due Tonight Exams Graded Assignment #3 Posted.
Algorithms and Running Time Algorithm: Well defined and finite sequence of steps to solve a well defined problem. Eg.,, Sequence of steps to multiply two.
Vertices and Edges Introduction to Graphs and Networks Mills College Spring 2012.
Minimum Spanning Trees Easy. Terms Node Node Edge Edge Cut Cut Cut respects a set of edges Cut respects a set of edges Light Edge Light Edge Minimum Spanning.
Spanning Trees. A spanning tree for a connected, undirected graph G is a graph S consisting of the nodes of G together with enough edges of G such that:
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/24 Introduction to Graphs. 2/24 Graph Definition Graph : consists of vertices and edges. Each edge must start and end at a vertex. Graph G = (V, E)
Flow Algorithms Prepared by John Reif, Ph.D. Distinguished Professor of Computer Science Duke University Analysis of Algorithms Week 9, Lecture 2.
A Framework for Reliable Routing in Mobile Ad Hoc Networks Zhenqiang Ye Srikanth V. Krishnamurthy Satish K. Tripathi.
Introduction to Graph Theory
Great Theoretical Ideas in Computer Science for Some.
Sketching complexity of graph cuts Alexandr Andoni joint work with: Robi Krauthgamer, David Woodruff.
Algorithm Design and Analysis June 11, Algorithm Design and Analysis Pradondet Nilagupta Department of Computer Engineering This lecture note.
Theory of Computational Complexity Yusuke FURUKAWA Iwama Ito lab M1.
TU/e Algorithms (2IL15) – Lecture 8 1 MAXIMUM FLOW (part II)
Randomized Min-Cut Algorithm
Chapter 5. Greedy Algorithms
Graph Theory CSRU1400, Fall 2007 Ellen Zhang.
Randomized Algorithm (Lecture 2: Randomized Min_Cut)
Spanning Trees.
Minimum Spanning Tree 8/7/2018 4:26 AM
Lecture 22 Minimum Spanning Tree
Lectures on Network Flows
CSE 373 Data Structures and Algorithms
CSE 373: Data Structures and Algorithms
Topological Sort CSE 373 Data Structures Lecture 19.
Chapter 23 Minimum Spanning Tree
Richard Anderson Lecture 21 Network Flow
Richard Anderson Winter 2009 Lecture 6
Algorithms (2IL15) – Lecture 7
CSE 373: Data Structures and Algorithms
Lecture 21 Network Flow, Part 1
Algorithms Lecture # 27 Dr. Sohail Aslam.
CSC 325: Algorithms Graph Algorithms David Luebke /24/2019.
Richard Anderson Lecture 5 Graph Theory
CSE 373: Data Structures and Algorithms
Constructing a m-connected k-Dominating Set in Unit Disc Graphs
Minimum Spanning Trees
Presentation transcript:

1 Min-cut for Undirected Graphs Given an undirected graph, a global min-cut is a cut (S,V-S) minimizing the number of crossing edges, where a crossing edge is an edge (u,v) s.t. u ∊S and v∊ V-S. S V - S

2 Graph Contraction For an undirected graph G, we can construct a new graph G’ by contracting two vertices u, v in G as follows: – u and v become one vertex {u,v} and the edge (u,v) is removed; – the other edges incident to u or v in G are now incident on the new vertex {u,v} in G’; Note: There may be multi-edges between two vertices. We just keep them. u v a b c d e {u,v} a b c d e Graph G Graph G’

3 A D B C contract Karger’s Min-cut Algorithm C is a cut, but not necessarily a min-cut. A D B C (i) Graph G (ii) Contract nodes C and D (iii) contract nodes A and CD A B CD contract B ACD (Iv) Cut C={(A,B), (B,C), (B,D)} Note: C is a cut but not necessarily a min-cut.

Example

Example Cont.

6 Karger’s Min-cut Algorithm For i = 1 to 100n 2 repeat randomly pick an edge (u,v) contract u and v until two vertices are left c i ← the number of edges between them Output mini c i

7 Analysis Fact 1: If degree(u) denotes the number of edges touching node u, then Proof: easy Fact 2: If there are n nodes, then the average degree of a node is 2|E |/n. Proof: This is a straightforward calculation: when you pick a node X at random,

8 Analysis Cont. Fact 3: The size of the minimum cut is at most 2|E |/n. Proof: Consider the partition of V into two pieces, one containing a single node u, and the other containing the remaining n - 1 nodes. The size of this cut is degree(u). Since this is a valid cut, the minimum cut cannot be bigger than this. In other words, for all nodes u, (size of minimum cut) <= degree(u). This means that the size of the minimum cut is also <= the average degree, which we’ve seen is 2|E |/n.

9 Analysis Cont. Fact 4: If an edge is picked at random, the probability that it lies across the minimum cut is at most 2/n. Proof: Follow Class Lecture