Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4. NP: (30%) The SET-cover problem is defined as follows: Given a set U of elements, a collection S of subsets of U, and an

image text in transcribed

image text in transcribed 4. NP: (30%) The SET-cover problem is defined as follows: Given a set U of elements, a collection S of subsets of U, and an integer k, are there k of these subsets whose union is equal to U ? A reduction from Vertex cover is as follows: Given a graph G=(V,E) and k, we construct a SET-COVER instance (U,S,k) that has a set cover of size k iff G has a vertex cover of size k. Universe U=E, and we include one subset for each node vV:Sv={eE: e incident to v}. See example below. U={1,2,3,4,5,6,7}Sa={3,7}Sc={3,4,5,6}Se={1}k=2 Sb={2,4} Sd={5} Sf={1,2,6,7} (a) (8%) Show that SET-Cover is in NP. (b) (8%) Show that the reduction is polynomial. (c) (10%) Show that the graph G has a vertex cover of size k iff U has a set cover of size k. Don't forget the two directions. (d) (4%) What are the set cover and the vertex cover in the figure above

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Bioinformatics Databases And Systems

Authors: Stanley I. Letovsky

1st Edition

1475784058, 978-1475784053

More Books

Students also viewed these Databases questions

Question

What is a major limitation of KNN?

Answered: 1 week ago