Question: Question 1 : Consider a se = , . . . , and a collection 1 , 2 , . . . , of subsets
Question : Consider a se and a collection of subsets of
A ie for each We say that a set is a hitting set for the collection
if H contains at least one element from each that is if cap for each i so H "hits" all the sets We now define the Hitting Set Problem as follows. We are given a set a collection of subsets of and a number We are asked: Is there a hitting set for such that the size of H is at most Show that
Hint: Design an algorithm so that it converts a CNFformula with clauses over variables into an instance of Hitting Set with
The universe that has elements one for each literal in
The collection that contains exactly sets. Moreover sets in the collection contain exactly elements.
The requested size of the actual hitting set in this instance is
Answer :
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
