The complexity of the matching-cut problem Maurizio Patrignani & Maurizio Pizzonia Third University of Rome.

Slides:



Advertisements
Similar presentations
NP-Hard Nattee Niparnan.
Advertisements

Orthogonal Drawing Kees Visser. Overview  Introduction  Orthogonal representation  Flow network  Bend optimal drawing.
Divide and Conquer. Subject Series-Parallel Digraphs Planarity testing.
I NTRODUCTION TO G RAPH DRAWING Fall 2010 Battista, G. D., Eades, P., Tamassia, R., and Tollis, I. G Graph Drawing: Algorithms for the Visualization.
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
Max Cut Problem Daniel Natapov.
NP-Completeness: Reductions
1 Partition Into Triangles on Bounded Degree Graphs Johan M. M. van Rooij Marcel E. van Kooten Niekerk Hans L. Bodlaender.
1 Monotone Drawings of Graphs Thanks to Peter Eades Patrizio Angelini, Enrico Colasante, Giuseppe Di Battista, Fabrizio Frati,
On the complexity of orthogonal compaction maurizio patrignani univ. rome III.
CSC5160 Topics in Algorithms Tutorial 2 Introduction to NP-Complete Problems Feb Jerry Le
Complexity 11-1 Complexity Andrei Bulatov NP-Completeness.
1 Debajyoti Mondal 2 Rahnuma Islam Nishat 2 Sue Whitesides 3 Md. Saidur Rahman 1 University of Manitoba, Canada 2 University of Victoria, Canada 3 Bangladesh.
CS21 Decidability and Tractability
On the Hardness of Graph Isomorphism Jacobo Tor á n SIAM J. Comput. Vol 33, p , Presenter: Qingwu Yang April, 2006.
Computability and Complexity 15-1 Computability and Complexity Andrei Bulatov NP-Completeness.
Techniques for Proving NP-Completeness
Reduction Techniques Restriction Local Replacement Component Design Examples.
Computability and Complexity 16-1 Computability and Complexity Andrei Bulatov NP-Completeness.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 23 Instructor: Paul Beame.
Fall 2006Costas Busch - RPI1 More NP-complete Problems.
Last class Decision/Optimization 3-SAT  Independent-Set Independent-Set  3-SAT P, NP Cook’s Theorem NP-hard, NP-complete 3-SAT  Clique, Subset-Sum,
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 24 Instructor: Paul Beame.
Complexity ©D.Moshkovitz 1 Paths On the Reasonability of Finding Paths in Graphs.
Clique Cover Cook’s Theorem 3SAT and Independent Set
Complexity results for three-dimensional orthogonal graph drawing maurizio “titto” patrignani third university of rome graph drawing 2005.
1 Chapter 8 NP and Computational Intractability Slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved.
Orthogonal Drawings of Series-Parallel Graphs Joint work with Xiao Zhou by Tohoku University Takao Nishizeki.
Graph Coalition Structure Generation Maria Polukarov University of Southampton Joint work with Tom Voice and Nick Jennings HUJI, 25 th September 2011.
On Balanced + -Contact Representations Stephane Durocher & Debajyoti Mondal University of Manitoba.
MCS 312: NP Completeness and Approximation algorithms Instructor Neelima Gupta
INHERENT LIMITATIONS OF COMPUTER PROGRAMS CSci 4011.
A split&push approach to 3D orthogonal drawings giuseppe di battista univ. rome III maurizio patrignani univ. rome III francesco vargiu aipa.
Fan-planar Graphs: Combinatorial Properties and Complexity results Carla Binucci, Emilio Di Giacomo, Walter Didimo, Fabrizio Montecchiani, Maurizio Patrignani,
1 3-COLOURING: Input: Graph G Question: Does there exist a way to 3-colour the vertices of G so that adjacent vertices are different colours? 1.What could.
CSCI-256 Data Structures & Algorithm Analysis Lecture Note: Some slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved. 33.
EMIS 8373: Integer Programming NP-Complete Problems updated 21 April 2009.
Techniques for Proving NP-Completeness Show that a special case of the problem you are interested in is NP- complete. For example: The problem of finding.
Partitioning Graphs of Supply and Demand Generalization of Knapsack Problem Takao Nishizeki Tohoku University.
1 Chapter 8 NP and Computational Intractability Slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved.
Additional NP-complete problems
1 Chapter 8 NP and Computational Intractability Slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved.
NP-Complete Problems. Running Time v.s. Input Size Concern with problems whose complexity may be described by exponential functions. Tractable problems.
Complexity results for three-dimensional orthogonal graph drawing maurizio patrignani third university of rome graph drawing dagstuhl
The Dominating Set and its Parametric Dual  the Dominated Set  Lan Lin prepared for theory group meeting on June 11, 2003.
Strings Basic data type in computational biology A string is an ordered succession of characters or symbols from a finite set called an alphabet Sequence.
Hamiltonian Path Problem This girl do this presentation. :) Teddy bear work along with me. Jeff help me understand the topic. Are they both cute?
Chapter 11 Introduction to Computational Complexity Copyright © 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1.
NPC.
NP-Completeness Note. Some illustrations are taken from (KT) Kleinberg and Tardos. Algorithm Design (DPV)Dasgupta, Papadimitriou, and Vazirani. Algorithms.
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness Proofs.
Given this 3-SAT problem: (x1 or x2 or x3) AND (¬x1 or ¬x2 or ¬x2) AND (¬x3 or ¬x1 or x2) 1. Draw the graph that you would use if you want to solve this.
Prof. Busch - LSU1 Busch Complexity Lectures: More NP-complete Problems.
COSC 3101A - Design and Analysis of Algorithms 14 NP-Completeness.
Computability Examples. Reducibility. NP completeness. Homework: Find other examples of NP complete problems.
Construction We constructed the following graph: This graph has several nice properties: Diameter Two Graph Pebbling Tim Lewis 1, Dan Simpson 1, Sam Taggart.
Costas Busch - LSU 1 More NP-complete Problems. Costas Busch - LSU 2 Theorem: If: Language is NP-complete Language is in NP is polynomial time reducible.
Richard Anderson Lecture 26 NP-Completeness
COMPLEXITY THEORY IN PRACTICE
More NP-complete Problems
NP-Completeness (2) NP-Completeness Graphs 7/23/ :02 PM x x x x
Richard Anderson Lecture 26 NP-Completeness
The Art Gallery Problem
NP-Completeness Proofs
SPQR Tree.
CSE 6408 Advanced Algorithms.
CS21 Decidability and Tractability
Complexity Theory in Practice
CS21 Decidability and Tractability
Complexity Theory in Practice
Presentation transcript:

The complexity of the matching-cut problem Maurizio Patrignani & Maurizio Pizzonia Third University of Rome

Overview Application domain Matching-cut problem NAE3SAT reduction Polynomial-time algorithm for series- parallel graphs Conclusions

Three-dimensional orthogonal grid drawings of graphs A drawing of a K 4 produced with the Interactive algorithm (Papakostas and Tollis 1997)

The “split & push” approach

End of the drawing process

A simpler example

A bad choice of the cuts “Fork”: two adjacent edges cut by the split

A result that is not so nice final bend dummy node representing a bend

Bad VS good cuts Reducing the number of edges cut by each split Reducing the forks produced by the cuts Details in: Di Battista, Patrignani, and Vargiu, "A Split&Push Approach to 3D Orthogonal Drawing", Journal of Graph Algorithms and Applications, 2000

The matching-cut problem A cut A matching A matching-cut Instance: A graph Question: Does a set of edges exist, such that it is a cut and a matching? Matching-Cut Problem

Previous work Recognizing “decomposable graphs” is NP-complete even with graph of maximum degree 4, but it is polynomial for graphs of maximum degree 3 (V. Chvátal, 1984) The problem remains NP-complete even restricting to bipartite graphs of minimum degree two (A.M. Moshi, 1989) The problem remains NP-complete even restricting to bipartite graphs with one color class of nodes of degree 4 and the other color class of nodes of degree 3 (V.B. Le and B. Randerath, 2001)

The NAE3SAT reduction Instance: A set of clauses, each containing 3 literals from a set of boolean variables Question: Can truth values be assigned to the variables so that each caluse contains at least one true literal and at least one false literal? Not-All-Equal-3-SAT Problem x1x3x4x1x3x4 x2x3x4x2x3x4 x2x3x4x2x3x4 x 1 = false x 2 = true x 3 = true x 4 = true

Construction false chain true chain Observation: nodes joined by multiple edges can not be separated by a matching-cut

Variable gadget xixi xixi false chain true chain

Variable gadget matching-cuts Not allowed! x i is true (x i is false ) x i is false (x i is true ) xixi xixi xixi xixi xixi xixi false chain true chain

Clause gadget l m n true chain false chain lmnlmn For each clause

Clause gadget matching-cuts (1) lmn falsefalsetrue falsetruefalse falsetruetrue l m nl m n l m n

Clause gadget matching-cuts (2) lmn truefalsefalse truefalse true true true false l m n l m n l m n

Connecting to variable gadgets x4x4 Each node of the clause gadget that represents a literal is connected with two edges to the corresponding literal of the variable gadget x3x3 x1x3x4x1x3x4 Example: x1x1 x3x3 x3x3 to x 4 to x 1

An example of instance x1x2x3x1x2x3 x1x1 x1x1 x2x2 x2x2 x3x3 x3x3 x1x1 x2x2 x3x3 A NAE3SAT instance may be: The corresponding matching-cut instance is:

A solution x1x2x3x1x2x3 x1x1 x2x2 x3x3 x2x2 x1x1 x2x2 x3x3 x1x1 x3x3 A NAE3SAT solution to is: The corresponding matching-cut solution is: x 1 = true x 2 = true x 3 = true

Graphs of maximum degree four replace each star with a “wheel” Observation: each node of the construction has even degree

Simple graphs replace each pair of edges with a triangle Observation: multiple edges occur only in pairs

Series-parallel graphs A series-parallel graph has a source s and a sink t and can be constructed by recursively applying the following rules: Serial composition: starting from G 1 (s 1,t 1 ) and G 2 (s 2,t 2 ), obtain G(s 1,t 2 ) by identifying t 1 and s 2 Parallel composition: starting from G 1 (s 1,t 1 ) and G 2 (s 2,t 2 ), obtain G(s 1,t 1 ) by identifying sources and sinks Basic step: a single edge between s and t is a series-parallel graph G(s,t) s t s 1 = s 2 t 1 = t 2 s1s1 t 1 = s 2 t2t2

Parse tree construction A parse tree can be constructed in linear-time describing a sequence of operations producing the series-parallel graph. edge parallel series edge

Non st-separating matching-cuts s t s t We associate with each node of the parse tree two labels describing the properties of the intermediate series-parallel graph with respect to the existence of a matching-cut Label 1 signals if a non st-separating matching cut exists in the series-parallel graph false label 1 true label 1

St-separating matching-cuts s t s t s AND t s t s t t s t s OR t s t 1 Label 2 signals under which conditions the series-parallel graph admits an st-separating matching-cut 0 label 2 s

Polynomial-time algorithm Traverse the parse tree top-down and update the labels. edge parallel series edge s AND t label 2 s AND t label 2 s AND t label 2 false label 1 false label 1 false label 1 false label 1 false label 1 0 label 2 s

Conclusions and open problems We showed an interesting application domain for the matching-cut problem in the graph drawing field We proved that the matching-cut problem is NP-complete by using a reduction of the NAE3SAT problem The result can be extended to graphs of maximum degree four and to simple graphs We produced a polynomial-time algorithm for series- parallel graphs It is open whether the problem retains its complexity for planar graphs