Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

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

Advances In Spatial And Temporal Databases 8th International Symposium Sstd 2003 Santorini Island Greece July 2003 Proceedings Lncs 2750

Authors: Thanasis Hadzilacos ,Yannis Manolopoulos ,John F. Roddick ,Yannis Theodoridis

2003rd Edition

3540405356, 978-3540405351

More Books

Students also viewed these Databases questions