Question: Consider the following two problems: Clique INPUT: an undirected graph G = ( V , E ) and a natural number k , where 1
Consider the following two problems:
Clique
INPUT: an undirected graph and a natural number where
QUESTION: Does have a clique? I.e does there exist subeV such that and every pair of vertices in is connected by an edge in
QUARTERClique QC
INPUT: an undirected graph
QUESTION: Does have a clique with vertices? I.e does there exist subeV such that and every pair of vertices in is connected by an edge in
Prove that QUARTERCliQUE is NPcomplete by constructing a reduction from ClIQUE:
Describe reduction from Clique to QC
You should describe how an instance of CliQuE is transformed into an instance of QC Make sure that your reduction is in the correct direction for showing that QC is NPcomplete. Pictures are great, but do include enough English to make your description unambiguous. NB: in the definition of Clique, the value can range from to
Prove that if Clique then inQC where for the function you described in part
Prove that if inQC then Clique where for the function you described in part
NB: the proofs in parts and must be separate proofs. Also, these proofs must hold for all undirected graphs and all values of not just conveniently chosen examples. Thats why a proof is required.
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
