Question: What is the pseudocode for a Approx-Clique that takes an undirected graph G = (V, E) as input and that returns a clique in G.

What is the pseudocode for a Approx-Clique that takes an undirected graph G = (V, E) as input and that returns a clique in G. Use Approx-Vertex-Cover as a subroutine and use the relationship between a vertex cover and a clique explained below to help solve it:

hint: we know that the vertex-cover problem and the NP-complete clique problem are complementary in the sense that an optimal vertex cover is the complement of a maximum-size clique in the complement graph. Also, determine the ratio of the optimal clique size to the returned clique size as a function of the optimal vertex cover size, the returned vertex cover size, and |V |.

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!