Toshiki Saitoh ERATO, Minato Discrete Structure Manipulation System Project, JST Graph Classes and Subgraph Isomorphism Joint work with Yota Otachi, Shuji.

Slides:



Advertisements
Similar presentations
NP-Hard Nattee Niparnan.
Advertisements

Connectivity - Menger’s Theorem Graphs & Algorithms Lecture 3.
Polynomial-time reductions We have seen several reductions:
Approximating Maximum Subgraphs Without Short Cycles Guy Kortsarz Join work with Michael Langberg and Zeev Nutov.
1 NP-completeness Lecture 2: Jan P The class of problems that can be solved in polynomial time. e.g. gcd, shortest path, prime, etc. There are many.
Approximating the Domatic Number Feige, Halldorsson, Kortsarz, Srinivasan ACM Symp. on Theory of Computing, pages , 2000.
Chapter 9 Connectivity 连通度. 9.1 Connectivity Consider the following graphs:  G 1 : Deleting any edge makes it disconnected.  G 2 : Cannot be disconnected.
 Graph Graph  Types of Graphs Types of Graphs  Data Structures to Store Graphs Data Structures to Store Graphs  Graph Definitions Graph Definitions.
GOLOMB RULERS AND GRACEFUL GRAPHS
Toshiki Saitoh ERATO, Minato Project, JST Subgraph Isomorphism in Graph Classes Joint work with Yota Otachi, Shuji Kijima, and Takeaki Uno The 14 th Korea-Japan.
Reconstruction Algorithm for Permutation Graphs Masashi Kiyomi, Toshiki Saitoh, and Ryuhei Uehara School of Information Science Japan Advanced Institute.
CSC5160 Topics in Algorithms Tutorial 2 Introduction to NP-Complete Problems Feb Jerry Le
Perfect Graphs Lecture 23: Apr 17. Hard Optimization Problems Independent set Clique Colouring Clique cover Hard to approximate within a factor of coding.
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
NP-Complete Problems Problems in Computer Science are classified into
Coloring Algorithms and Networks. Coloring2 Graph coloring Vertex coloring: –Function f: V  C, such that for all {v,w}  E: f(v)  f(w) Chromatic number.
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
Treewidth Algorithms and Networks. Treewidth2 Overview Historic introduction: Series parallel graphs Dynamic programming on trees Dynamic programming.
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
Αλγοριθμική Θεωρία Γραφημάτων Διάλεξη 4 Permutation Graphs Split Graphs Cographs, Threshold Graphs Σταύρος Δ. Νικολόπουλος 1.
Discrete Mathematics Lecture 9 Alexander Bukharovich New York University.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Bipartite Permutation Graphs are Reconstructible Toshiki Saitoh (ERATO) Joint work with Masashi Kiyomi (JAIST) and Ryuhei Uehara (JAIST) COCOA /Dec/2010.
Introduction to Graph Theory
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
Simple Efficient Algorithm for MPQ-tree of an Interval Graph Toshiki SAITOH Masashi KIYOMI Ryuhei UEHARA Japan Advanced Institute of Science and Technology.
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
1 Graph Searching and Search Time Franz J. Brandenburg and Stefanie Herrmann University of Passau.
1 Treewidth, partial k-tree and chordal graphs Delpensum INF 334 Institutt fo informatikk Pinar Heggernes Speaker:
1 Edge-bipancyclicity of star graphs under edge-fault tolerant Applied Mathematics and Computation, Volume 183, Issue 2, 15 December 2006, Pages
Graphs Rosen, Chapter 8. Isomorphism (Rosen 560 to 563) Are two graphs G1 and G2 of equal form? That is, could I rename the vertices of G1 such that the.
Random Generation and Enumeration of Bipartite Permutation Graphs Toshiki Saitoh (JAIST, Japan) Yota Otachi (Gunma Univ., Japan) Katsuhisa Yamanaka (UEC,
Stephane Durocher 1 Debajyoti Mondal 1 Md. Saidur Rahman 2 1 Department of Computer Science, University of Manitoba 2 Department of Computer Science &
Batch Scheduling of Conflicting Jobs Hadas Shachnai The Technion Based on joint papers with L. Epstein, M. M. Halldórsson and A. Levin.
1 CS104 : Discrete Structures Chapter V Graph Theory.
An Efficient Algorithm for Enumerating Pseudo Cliques Dec/18/2007 ISAAC, Sendai Takeaki Uno National Institute of Informatics & The Graduate University.
Memory Allocation of Multi programming using Permutation Graph By Bhavani Duggineni.
Data Structures & Algorithms Graphs
Chapter 1 Fundamental Concepts Introduction to Graph Theory Douglas B. West July 11, 2002.
1 12/2/2015 MATH 224 – Discrete Mathematics Formally a graph is just a collection of unordered or ordered pairs, where for example, if {a,b} G if a, b.
Non-Approximability Results. Summary -Gap technique -Examples: MINIMUM GRAPH COLORING, MINIMUM TSP, MINIMUM BIN PACKING -The PCP theorem -Application:
Tree Spanners on Chordal Graphs: Complexity, Algorithms, Open Problems A. Brandstaedt, F.F. Dragan, H.-O. Le and V.B. Le University of Rostock, Germany.
NP-Completeness (Nondeterministic Polynomial Completeness) Sushanth Sivaram Vallath & Z. Joseph.
LIMITATIONS OF ALGORITHM POWER
 Quotient graph  Definition 13: Suppose G(V,E) is a graph and R is a equivalence relation on the set V. We construct the quotient graph G R in the follow.
Data Reduction for Graph Coloring Problems Bart M. P. Jansen Joint work with Stefan Kratsch August 22 nd 2011, Oslo.
Lecture 25 NP Class. P = ? NP = ? PSPACE They are central problems in computational complexity.
NP-completeness NP-complete problems. Homework Vertex Cover Instance. A graph G and an integer k. Question. Is there a vertex cover of cardinality k?
A Linear Time Algorithm for the Longest Path Problem on 2-trees joint work with Tzvetalin Vassilev and Krassimir Manev
Introduction to Graph Theory By: Arun Kumar (Asst. Professor) (Asst. Professor)
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Trees Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering, IIT
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
Spanning Tree Definition:A tree T is a spanning tree of a graph G if T is a subgraph of G that contains all of the vertices of G. A graph may have more.
Eternal Domination Chip Klostermeyer.
Kernel Bounds for Path and Cycle Problems Bart M. P. Jansen Joint work with Hans L. Bodlaender & Stefan Kratsch September 8 th 2011, Saarbrucken.
2005/3/1 Efficient Algorithms for the Longest Path Problem Ryuhei UEHARA (JAIST) Yushi UNO (Osaka.
The NP class. NP-completeness Lecture2. The NP-class The NP class is a class that contains all the problems that can be decided by a Non-Deterministic.
Week 11 - Wednesday.  What did we talk about last time?  Graphs  Paths and circuits.
Chap 7 Graph Def 1: Simple graph G=(V,E) V : nonempty set of vertices E : set of unordered pairs of distinct elements of V called edges Def 2: Multigraph.
Graphs. Representations of graphs : undirected graph An undirected graph G have five vertices and seven edges An adjacency-list representation of G The.
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Introduction to Algorithms
Algorithms for Finding Distance-Edge-Colorings of Graphs
Fast Hamiltonicity Checking via Bases of Perfect Matchings
Graph theory Definitions Trees, cycles, directed graphs.
Chapter 4: Using NP-Completeness to Analyze Subproblems
The Power of Preprocessing: Gems in Kernelization
Bart Jansen Polynomial Kernels for Hard Problems on Disk Graphs
Trees.
Introduction to Graph Theory
Presentation transcript:

Toshiki Saitoh ERATO, Minato Discrete Structure Manipulation System Project, JST Graph Classes and Subgraph Isomorphism Joint work with Yota Otachi, Shuji Kijima, and Takeaki Uno アルゴリズム研究会 2010 年 11 月 19 日

Subgraph Isomorphism Problem Input: Two graphs G=(V G, E G ) and H=(V H, E H ) |V H | ≦ |V G | and |E H | ≦ |E G | Question: Is H a subgraph isomorphic of G? Is there an injective map f from V H to V G {f(u), f(v)} ∈ E G holds for any {u, v} ∈ E H Example Graph G Graph H 1 Graph H 2 YesNo

Subgraph Isomorphism Problem Input: Two graphs G=(V G, E G ) and H=(V H, E H ) |V H | ≦ |V G | and |E H | ≦ |E G | Question: Is H a subgraph isomorphic of G? Is there an injective map f from V H to V G {f(u), f(v)} ∈ E G holds for any {u, v} ∈ E H Application LSI design Pattern recognition Bioinfomatics Computer vision, etc.

Known Result NP-complete in general Contains maximum clique, Hamiltonian path, Isomorphism problem etc. Graph classes oOuterplanar graphs oCographs Polynomial time algorithms k-connected partial k-trees Tree H is forest ⇒ NP-hard 2-connected series-parallel graphs

Graph Classes Chordal Interval Distance-hereditary Ptolemaic Cograph Comparability Permutation Perfect Bipartite HHD-free Trivially perfect Proper interval Threshold Bipartite permutation ChainCo-chain NP-hard Tree G, H: Connected G, H ∈ Graphclass C

Proper Interval Graphs (PIGs) Have proper interval representations Each interval corresponds to a vertex Two intervals intersect ⇔ corresponding two vertices are adjacent No interval properly contains another Proper interval graph and its proper interval representation

Characterization of PIGs Every PIG has at most 2 Dyck paths. Two PIGs G and H are isomorphic ⇔ the Dyck path of G is equal to the Dyck path of H. A maximum clique of a PIG G corresponds to a highest point of a Dyck path. If a PIG G is connected, G contains Hamilton path. We thought that the subgraph isomorphism problem of PIGs is easy. NP-complete! But,

Problem Input: Two proper interval graphs G=(V G, E G ) and H=(V H, E H ) |V H | ≦ |V G | and |E H | < |E G | Question: Is H a subgraph isomorphic of G? |V H | = |V G | Connected NP-complete Reduction from 3-partition problem 3-Partition Input: Set A of 3m elements, a bound B ∈ Z +, and a size a j ∈ Z+ for each j ∈ A Each a j satisfies that B/4 < a j < B/2 Σ j ∈ A a j = mB Question: Can A be partitioned into m disjoint sets A(1),..., A(m), for 1 ≦ i ≦ m, Σ j ∈ A(i) a j = B

Proof ( G and H are disconnected) … Cliques of size B G m ………… …

Proof ( G and H are disconnected) … Cliques of size B G m H … a1a1 a2a2 a3a3 a3ma3m Cliques

Proof ( G and H are disconnected) … G H m … a1Ma1M Cliques of size BM (M=m 10 ) a2Ma2M a3Ma3Ma3mMa3mM … …

Proof ( G and H are disconnected) … G H … a1Ma1M Cliques of size BM+6m 2 (M=m 10 ) a2Ma2M a3Ma3Ma3mMa3mM m>2 ……… … … 3m23m2 …

Proof ( G is connected) … G H … a1Ma1M Cliques of size BM+6m 2 (M=m 10 ) a2Ma2M a3Ma3Ma3mMa3mM m>2 ……… … …… 3m23m2 …… Cliques of size 6m 2

Proof ( G is connected) … G Cliques of size BM+6m 2 (M=m 10 ) m>2 ……… … …… 3m23m2 …… Cliques of size 6m 2 ……… … … … … … … … … …

Proof ( G is connected) … G H … a1Ma1M Cliques of size BM+6m 2 (M=m 10 ) a2Ma2M a3Ma3Ma3mMa3mM m>2 ……… … …… 3m23m2 …… Cliques of size 6m 2

Proof ( G and H are connected) … G H … a1Ma1M Cliques of size BM+6m 2 (M=m 10 ) a2Ma2M a3Ma3Ma3mMa3mM m>2 ……… … …… 3m23m2 …… Cliques of size 6m 2 …… Paths of length m

Proof ( G and H are connected) H … a1Ma1M (M=m 10 ) a2Ma2M a3Ma3Ma3mMa3mM m>2 …… Paths of length m ……… … … ……

Proof ( G and H are connected) … G H … a1Ma1M Cliques of size BM+6m 2 (M=m 10 ) a2Ma2M a3Ma3Ma3mMa3mM m>2 ……… … …… 3m23m2 …… Cliques of size 6m 2 …… Paths of length m

Proof ( |V G |=|V H | ) … G H … a1Ma1M Cliques of size BM+6m 2 (M=m 10 ) a2Ma2M a3Ma3Ma3mMa3mM m>2 ……… … …… 3m23m2 …… Cliques of size 6m 2 …… Paths of length m … 6m 3 -m 2 -3m+2

Graph Classes Chordal Interval Distance-hereditary Ptolemaic Cograph Comparability Permutation Perfect Bipartite HHD-free Trivially perfect Proper interval Threshold Bipartite permutation ChainCo-chain NP-hard Tree G, H: connected G, H ∈ Graphclass C

Threshold Graphs A graph G=(V, E) is a threshold There are a real number S and a real vertex weight w(v) such that (u,v) ∈ E ⇔ w(u)+w(v) ≧ S G=(V, E): graph, (d(v 1 ), d(v 2 ), …, d(v n )): degree sequence of G. G is a threshold ⇔ N[v 1 ] ⊇ N[v 2 ] ⊇ … ⊇ N[v i ] ⊇ N(v i+1 ) ⊇ … ⊇ N(v n ) G=(V, E): graph, (d(v 1 ), d(v 2 ), …, d(v n )): degree sequence of G. G is a threshold ⇔ N[v 1 ] ⊇ N[v 2 ] ⊇ … ⊇ N[v i ] ⊇ N(v i+1 ) ⊇ … ⊇ N(v n ) Graph G v1v1 v2v2 v3v3 v4v4 v5v5 v6v6 v7v7 Degree sequence: v 1, v 2, v 3, v 4, v 5, v 6, v 7 N[v1]⊇N[v2]⊇N[v3]⊇N(v4)⊇N(v5)⊇N(v6)⊇N(v7)N[v1]⊇N[v2]⊇N[v3]⊇N(v4)⊇N(v5)⊇N(v6)⊇N(v7) Lemma [Hammer, et al. 78] N(v): neighbor set of v N[v]:closed neighbor set of v

Polynomial Time Algorithm 1. Finds degree sequences of G and H G : ( d(v 1 ), d(v 2 ), …, d(v n ) ) H : ( d(u 1 ), d(u 2 ), …, d(u n’ ) ) 2. for i=1 to n’ do 3. if d(v i ) < d(u i ) then return No! 4. return Yes! Graph G Graph H 1 Graph H 2 Yes No G : H 1 : G : H 2 :

Our Results Chordal Interval Distance-hereditary Ptolemaic Cograph Comparability Permutation Perfect Bipartite HHD-free Trivially perfect Proper interval Threshold Bipartite permutation Chain Co-chain NP-hard Tree G, H: connected G, H ∈ Graphclass C