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
The subgraph-isomorphism problem takes two graphs G1 and G2 and asks whether G1 is isomorphic to a subgraph of G2. Show that a) the subgraph-isomorphism problem is in NP; b) it is NP-complete by giving a polynomial time reduction from SAT problem to it. and 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 E1 if and only if (f(u), f(v)) is in E2. For examples, G1 is isomorphic to a subgraph with vertices {1,2,5,4} of G2 below. G1 G2 1 1 2 4 5 4 3. 2. 3.
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