Question: 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

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
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
