Introduction to Algorithms
Introduction to Algorithms
3rd Edition
ISBN: 9780262033848
Author: Thomas H. Cormen, Ronald L. Rivest, Charles E. Leiserson, Clifford Stein
Publisher: MIT Press
Question
Book Icon
Chapter 34.5, Problem 1E
Program Plan Intro

To demonstrate that the sub-graph isomorphism problem is NP-complete.

Blurred answer
Students have asked these similar questions
4. The subgraph-isomorphism problem takes two graphs Gl and G2 and asks whether Gl is isomorphic to a subgraph of G2. Show that a) the subgraph-isomorphism problem is in NP; and b) it is NP-complete by giving a polynomial time reduction from SAT problem to it. Note: Two graphs G1=(V1, E1) and G2=(V2, E2) are isomorphic if there exists a one- one and onto function f( ) from V1 to V2 such that for every two nodes u and v in V1, (u,v) is in El if and only if (f(u), f(v)) is in E2. For examples, Gl is isomorphic to a subgraph with vertices {1,2,5,4} of G2 below. G1 G2 1 2 1 2 3 4 5 4 3
Recall the Clique problem: given a graph G and a value k, check whether G has a set S of k vertices that's a clique. A clique is a subset of vertices S such that for all u, v € S, uv is an edge of G. The goal of this problem is to establish the NP-hardness of Clique by reducing VertexCover, which is itself an NP-hard problem, to Clique. Recall that a vertex cover is a set of vertices S such that every edge uv has at least one endpoint (u or v) in S, and the VertexCover problem is given a graph H and a value 1, check whether H has a vertex cover of size at most 1. Note that all these problems are already phrased as decision problems, and you only need to show the NP-Hardness of Clique. In other words, we will only solve the reduction part in this problem, and you DO NOT need to show that Clique is in NP. Q4.1 Let S be a subset of vertices in G, and let C be the complement graph of G (where uv is an edge in C if and only if uv is not an edge in G). Prove that for any subset of vertices…
For each pair of graphs G1 = <V1, E1> and G2 = <V2, E2> a) determine if they are isomorphic or not. b) Determine a function that can be isomorphic between them if they are isomorphic. Otherwise you should justify why they are not isomorphic. c) is there an Euler road or an Euler bike in anyone graph? Is Hamilton available? You should draw if the answer is yes and reason if your answer is no.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education