Question: Consider a set A = a l , dots, a n and a collection B 1 , B 2 , dots, B m of subsets

Consider a set A=al,dots,an and a collection B1,B2,dots,Bm of subsets of
A (i.e.,BisubeA for each i). We say that a set HsubA is a hitting set for the collection
B1,B2,dots,Bm
if H contains at least one element from each Bi, that is, if HBiO? for each i(so H "hits" all
the sets Bi). We now define the Hitting Set Problem as follows. We are given a set A=al,dots,an,
a collection B1,B2,dots,Bm of subsets of A, and a number k. We are asked: Is there a hitting set
HsubA for B1,B2,dots,Bm such that the size of H is at most k?
Show that 3-SAT?p Hitting Set'.
Hint: Design an algorithm so that it converts a 3-CNF-formula with m clauses over n
variables into an instance of Hitting Set with
The universe that has 2n elements (one for each literal in ),
The collection that contains exactly m+n sets. Moreover n sets in the
collection contain exactly 2 elements.
The requested size of the actual hitting set in this instance is n.
 Consider a set A=al,dots,an and a collection B1,B2,dots,Bm of subsets of

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!