The clique problem itself is np-hard thus you may not want


Design an oracle for this function:

void compute_maximum_clique( �);

Input: a graph G(V,E), that is, V is a set of nodes and E is a set of edges connecting nodes in G.

Output: a sub-graph G'(V',E') of G such that for any two nodes u,v in V', there is an edge e=(u,v) in E'. In addition, G' should be the maximum in terms of the size. That is, for any other G'' with the above property, we have |G''| no larger than |G'|.

Hints: The clique problem itself is NP-hard. Thus you may not want to have an oracle that runs in exponential time. Think about approach to approximate the solution. In another word, design an oracle that runs efficiently but may make mistakes in some cases

Solution Preview :

Prepared by a verified Expert
Programming Languages: The clique problem itself is np-hard thus you may not want
Reference No:- TGS01260391

Now Priced at $30 (50% Discount)

Recommended (99%)

Rated (4.3/5)