In graph theory, a clique cover or partition into cliques of a given undirected graph is a collection of cliques that cover the whole graph. A minimum clique cover is a clique cover that uses as few cliques as possible. The minimum k for which a clique cover exists is called the clique cover number of the given graph.
Relation to coloring
A clique cover of a graph G may be seen as a graph coloring of the complement graph of G, the graph on the same vertex set that has edges between non-adjacent vertices of G. Like clique covers, graph colorings are partitions of the set of vertices, but into subsets with no adjacencies (independent sets) rather than cliques. A subset of vertices is a clique in G if and only if it is an independent set in the complement of G, so a partition of the vertices of G is a clique cover of G if and only if it is a coloring of the complement of G.
Computational complexity
The clique cover problem in computational complexity theory is the algorithmic problem of finding a minimum clique cover, or (rephrased as a decision problem) finding a clique cover whose number of cliques is below a given threshold. Finding a minimum clique cover is NP-hard, and its decision version is NP-complete. It was one of Richard Karp's original 21 problems shown NP-complete in his 1972 paper "Reducibility Among Combinatorial Problems".
The equivalence between clique covers and coloring is a reduction that can be used to prove the NP-completeness of the clique cover problem from the known NP-completeness of graph coloring.
In special classes of graphs
Perfect graphs are defined as graphs in which, for every induced subgraph, the chromatic number (minimum number of colors in a coloring) equals the size of the maximum clique. According to the weak perfect graph theorem, the complement of a perfect graph is also perfect. Therefore, the perfect graphs are also the graphs in which, for every induced subgraph, the clique cover number equals the size of the maximum independent set. It is possible to compute the clique cover number in perfect graphs in polynomial time.
Another class of graphs in which the minimum clique cover can be found in polynomial time are the triangle-free graphs. In these graphs, every clique cover consists of a matching (a set of disjoint pairs of adjacent vertices) together with singleton sets for the remaining unmatched vertices. The number of cliques equals the number of vertices minus the number of matched pairs. Therefore, in triangle-free graphs, the minimum clique cover can be found by using an algorithm for maximum matching.
The optimum partition into cliques can also be found in polynomial time for graphs of bounded clique-width. These include, among other graphs, the cographs and distance-hereditary graphs, which are also classes of perfect graphs.
The clique cover problem remains NP-complete on some other special classes of graphs, including the cubic planar graphs and unit disk graphs.
Approximation
The same hardness of approximation results that are known for graph coloring also applies to clique cover. Therefore, unless P = NP, there can be no polynomial time approximation algorithm for any ε > 0 that, on n-vertex graphs, achieves an approximation ratio better than n.
In graphs where every vertex has at most three neighbors, the clique cover remains NP-hard, and there is a constant ρ > 1 such that it is NP-hard to approximate with approximation ratio ρ or better. Nevertheless, in polynomial time it is possible to find an approximation with a ratio of 5/4. That is, this approximation algorithm finds a clique cover whose number of cliques is no more than 5/4 times the optimum.
Baker's technique can be used to provide a polynomial-time approximation scheme for the problem on planar graphs.
Related problems
The related clique edge cover problem concerns partitioning the edges of a graph, rather than the vertices, into subgraphs induced by cliques. It is also NP-complete.
References
- Karp, Richard (1972), "Reducibility Among Combinatorial Problems" (PDF), in Miller, R. E.; Thatcher, J. W. (eds.), Proceedings of a Symposium on the Complexity of Computer Computations, Plenum Press, pp. 85–103, archived from the original (PDF) on 2011-06-29, retrieved 2008-08-29
- Garey, Michael R.; Johnson, David S. (1979), Computers and Intractability: A Guide to the Theory of NP-Completeness, W.H. Freeman, ISBN 0-7167-1045-5 A1.2: GT19, pg.194.
- Espelage, Wolfgang; Gurski, Frank; Wanke, Egon (2001), "How to solve NP-hard graph problems on clique-width bounded graphs in polynomial time", International Workshop on Graph-Theoretic Concepts in Computer Science (WG 2001), Lecture Notes in Computer Science, vol. 2204, Springer, pp. 117–128, doi:10.1007/3-540-45477-2_12, ISBN 978-3-540-42707-0.
- ^ Cerioli, M.R.; Faria, L.; Ferreira, T.O.; Martinhon, C.A.J.; Protti, F.; Reed, B. (June 2008), "Partition into cliques for cubic graphs: Planar case, complexity and approximation", Discrete Applied Mathematics, 156 (12): 2270–2278, doi:10.1016/j.dam.2007.10.015.
- Dumitrescu, Adrian; Pach, János (2009), "Minimum clique partition in unit disk graphs", arXiv:0909.1552 .
- Zuckerman, D. (2007), "Linear degree extractors and the inapproximability of Max Clique and Chromatic Number" (PDF), Theory of Computing, 3: 103–128, doi:10.4086/toc.2007.v003a006.
- Blanchette, Mathieu; Kim, Ethan; Vetta, Adrian (January 2012), "Clique cover on sparse networks", 2012 Proceedings of the Fourteenth Workshop on Algorithm Engineering and Experiments (ALENEX), Society for Industrial and Applied Mathematics, pp. 93–102, doi:10.1137/1.9781611972924.10, ISBN 978-1-61197-212-2
- Garey & Johnson (1979), Problem GT59.