Clique

Input

Graph G=(V,E)G = (V, E), positive integer K≤∣V∣K \leq |V|.

Question

Does GG contain a clique of size KK or more, i.e. a subset V′⊆VV' \subseteq V with ∣V′∣≥K|V'| \geq K such that every two vertices in V′V' are joined by an edge in EE?

Classes

Comments

Solvable in polynomial time for graphs obeying any fixed degree bound dd, for planar graphs, for edge graphs, for chordal graphs (Gavril, 1972), for comparability graphs, for edge graphs, for chordal graphs (Gavril, 1973), and for circular arc graphs (given their representation as families of arcs) (Gavril, 1974). The variant in which, for a given rr, 0<r<10 < r < 1, we are asked whether GG contains a clique of size r∣V∣r|V| or more is NP-complete for any fixed value of rr.

Proofs

NP-complete

Transformation from Vertex Cover (Karp, 1972).

Reducible from

References