A Randomized Algorithm for Minimum Cuts Andreas Klappenecker.

Slides:



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

Covers, Dominations, Independent Sets and Matchings AmirHossein Bayegan Amirkabir University of Technology.
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
Analysis of Algorithms CS Data Structures Section 2.6.
Chapter 6 Sampling and Sampling Distributions
Minimum Spanning Tree Sarah Brubaker Tuesday 4/22/8.
Graphs: MSTs and Shortest Paths David Kauchak cs161 Summer 2009.
1 Lecture 5 (part 2) Graphs II Euler and Hamiltonian Path / Circuit Reading: Epp Chp 11.2, 11.3.
A Randomized Linear-Time Algorithm to Find Minimum Spaning Trees 黃則翰 R 蘇承祖 R 張紘睿 R 許智程 D 戴于晉 R David R. Karger.
A Randomized Linear-Time Algorithm to Find Minimum Spanning Trees David R. Karger David R. Karger Philip N. Klein Philip N. Klein Robert E. Tarjan.
1. Given a predetermined property and a graph we want to distinguish between the 2 cases: 1)The graph has the property 2) The graph is “far” from having.
Artur Czumaj Dept of Computer Science & DIMAP University of Warwick Testing Expansion in Bounded Degree Graphs Joint work with Christian Sohler.
CSL758 Instructors: Naveen Garg Kavitha Telikepalli Scribe: Manish Singh Vaibhav Rastogi February 7 & 11, 2008.
1 Hiring Problem and Generating Random Permutations Andreas Klappenecker Partially based on slides by Prof. Welch.
Greedy Algorithms for Matroids Andreas Klappenecker.
1 Algorithms for Large Data Sets Ziv Bar-Yossef Lecture 8 May 4, 2005
Karger’s Min-Cut Algorithm Amihood Amir Bar-Ilan University, 2009.
Randomized Algorithms and Randomized Rounding Lecture 21: April 13 G n 2 leaves
Chapter 7 Sampling and Sampling Distributions
Michael Bender - SUNY Stony Brook Dana Ron - Tel Aviv University Testing Acyclicity of Directed Graphs in Sublinear Time.
DAST 2005 Tirgul 12 (and more) sample questions. DAST 2005 Q.We’ve seen that solving the shortest paths problem requires O(VE) time using the Belman-Ford.
Christian Sohler 1 University of Dortmund Testing Expansion in Bounded Degree Graphs Christian Sohler University of Dortmund (joint work with Artur Czumaj,
Chapter Resynchsonous Stabilizer Chapter 5.1 Resynchsonous Stabilizer Self-Stabilization Shlomi Dolev MIT Press, 2000 Draft of Jan 2004, Shlomi.
Study Group Randomized Algorithms Jun 7, 2003 Jun 14, 2003.
Part III: Inference Topic 6 Sampling and Sampling Distributions
Randomness in Computation and Communication Part 1: Randomized algorithms Lap Chi Lau CSE CUHK.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley. All rights reserved.
Exponential Distribution & Poisson Process
Randomized Algorithms Morteza ZadiMoghaddam Amin Sayedi.
Approximating the MST Weight in Sublinear Time Bernard Chazelle (Princeton) Ronitt Rubinfeld (NEC) Luca Trevisan (U.C. Berkeley)
Design and Analysis of Computer Algorithm September 10, Design and Analysis of Computer Algorithm Lecture 5-2 Pradondet Nilagupta Department of Computer.
Graph Sparsifiers Nick Harvey University of British Columbia Based on joint work with Isaac Fung, and independent work of Ramesh Hariharan & Debmalya Panigrahi.
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.
11/3/10 A. Smith; based on slides by E. Demaine, C. Leiserson, S. Raskhodnikova, K. Wayne Adam Smith Algorithm Design and Analysis L ECTURES 37+ Randomized.
Ragesh Jaiswal Indian Institute of Technology Delhi Threshold Direct Product Theorems: a survey.
Copyright © 2009 Pearson Education, Inc LEARNING GOAL Interpret and carry out hypothesis tests for independence of variables with data organized.
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.
Greedy Algorithms and Matroids Andreas Klappenecker.
Spanning Trees CSIT 402 Data Structures II 1. 2 Two Algorithms Prim: (build tree incrementally) – Pick lower cost edge connected to known (incomplete)
1 Randomized Algorithms Andreas Klappenecker. 2 Randomized Algorithms A randomized algorithm is an algorithm that makes random choices during their execution.
UNIT 5.  The related activities of sorting, searching and merging are central to many computer applications.  Sorting and merging provide us with a.
Artur Czumaj DIMAP DIMAP (Centre for Discrete Maths and it Applications) Computer Science & Department of Computer Science University of Warwick Testing.
Minimum Spanning Trees CSE 373 Data Structures Lecture 21.
ICS 353: Design and Analysis of Algorithms
Presented by Dajiang Zhu 11/1/2011.  Introduction of Markov chains Definition One example  Two problems as examples 2-SAT Algorithm (simply introduce.
1 4.1 Hash Functions and Data Integrity A cryptographic hash function can provide assurance of data integrity. ex: Bob can verify if y = h K (x) h is a.
1 Distributed Vertex Coloring. 2 Vertex Coloring: each vertex is assigned a color.
Theory of Computational Complexity Probability and Computing Lee Minseon Iwama and Ito lab M1 1.
Algorithm Design and Analysis June 11, Algorithm Design and Analysis Pradondet Nilagupta Department of Computer Engineering This lecture note.
Theory of Computational Complexity Probability and Computing Ryosuke Sasanuma Iwama and Ito lab M1.
Copyright © 2009 Pearson Education, Inc LEARNING GOAL Interpret and carry out hypothesis tests for independence of variables with data organized.
Randomized Min-Cut Algorithm
Tell Me Who I Am: An Interactive Recommendation System
Randomized Algorithm (Lecture 2: Randomized Min_Cut)
Pertemuan ke-7 s/d ke-10 (minggu ke-4 dan ke-5)
Minimum Spanning Tree 8/7/2018 4:26 AM
Maximal Independent Set
QuickSort QuickSort Best, Worst Average Cases K-th Ordered Statistic
Lecture 18: Uniformity Testing Monotonicity Testing
Maximal Independent Set
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Randomized Algorithms CS648
Chapter 23 Minimum Spanning Tree
AB AC AD AE AF 5 ways If you used AB, then, there would be 4 remaining ODD vertices (C, D, E and F) CD CE CF 3 ways If you used CD, then, there.
Minimum Spanning Trees
Haitao Wang Utah State University SoCG 2017, Brisbane, Australia
Lecture 14 Shortest Path (cont’d) Minimum Spanning Tree
Euler and Hamilton Paths
Lecture 13 Shortest Path (cont’d) Minimum Spanning Tree
Constructing a m-connected k-Dominating Set in Unit Disc Graphs
Presentation transcript:

A Randomized Algorithm for Minimum Cuts Andreas Klappenecker

Connected Multigraphs

Cut

Size of a Cut The size of a cut is given by the number of edges crossing the cut. Our goal is to determine the minimum size of a cut in a multigraph.

Edge Contraction

Cuts in the Contracted Multigraph

Randomized Algorithm

Basic Idea The algorithm Contract selects uniformly at random one of the remaining edges and contracts this edge until two vertices remain. The cut determined by these two vertices contains precisely the edges that have not been contracted. Counting the number of edges between the two vertices gives an upper bound on the minimum size of a cut.

Two Example Runs Contract {E,F} Contract {D,F} Contract {C,D} Contract {B,D}

Possible Errors The examples show some unsettling property of the algorithm Contract: It does not always return the size of a minimum cut. How likely is it that the algorithm produces a correct result?

Time Complexity

Analysis Let us start with a few simple observations: Let E 1, E 2,..., E n be events. Then the definition of a conditional probability yields Pr[E 2 ∩ E 1 ] = Pr[E 2 |E 1 ] Pr[E 1 ]. Therefore, Pr[E 3 ∩ E 2 ∩ E 1 ] = Pr[E 3 |E 2 ∩ E 1 ] Pr[E 2 ∩ E 1 ] = = Pr[E 3 |E 2 ∩ E 1 ] Pr[E 2 |E 1 ] Pr[E 1 ] More generally, Pr[E n ∩... ∩ E 2 ∩ E 1 ] = Pr[E n |E n-1 ∩... ∩ E 1 ] Pr[E n-1 |E n-2 ∩... ∩ E 1 ]... Pr[E 2 |E 1 ] Pr[E 1 ]

Prelude Suppose that a multigraph has just one minimum cut C. If any edge crossing this cut C is selected by Contract, then the algorithm will not produce the correct size of the minimum cut. This will be the guiding principle for the analysis. Our analysis is very pessimistic. If the multigraph has more than one minimum cut (which is typically the case), then a minimum cut will be found with greater probability than our analysis will suggest.

Analysis of Contract (1)

Analysis of Contract (2)

Number of Repetitions We have shown that the algorithm will succeed with probability >= 2/n 2. fail with probability <=(1-2/n 2 ). Since each run is independent, Pr[fail 1 ∩... ∩ fail n ] = Pr[fail 1 ]... Pr[fail n ] Recall from calculus that (1+x/n) n <= exp(x) Repeating the algorithm Contract n 2 /2 times, the probability of failure is <= (1-2/n 2 ) (n^2/2) <= e -1. Therefore, repeating the algorithm Contract 0.5 n 2 log n times, give a probability of failure Pr[failure] <= e -log n