Clique cover
Encyclopedia
In computational complexity theory
, finding a minimum clique cover is a graph-theoretical
NP-complete
problem. The problem was one of Richard Karp's original 21 problems
shown NP-complete in his 1972 paper "Reducibility Among Combinatorial Problems".
The clique cover problem (also sometimes called partition into cliques) is the problem of determining whether the vertices of a graph can be partitioned into k cliques
. Given a partition of the vertices into k sets, it can be verified in polynomial time that each set forms a clique, so the problem is in NP
. The NP-completeness of clique cover follows by reduction from GRAPH k-COLOURABILITY
. To see this, first transform an instance G of GRAPH k-COLOURABILITY into its complement graph
G. A partition of G' into k cliques then corresponds to finding a partition of the vertices of G into k independent sets
; each of these sets can then be assigned one colour to yield a k-colouring.
The related clique edge cover problem considers sets of cliques that include all of the edges of a given graph. It is also NP-complete.
Computational complexity theory
Computational complexity theory is a branch of the theory of computation in theoretical computer science and mathematics that focuses on classifying computational problems according to their inherent difficulty, and relating those classes to each other...
, finding a minimum clique cover is a graph-theoretical
Graph theory
In mathematics and computer science, graph theory is the study of graphs, mathematical structures used to model pairwise relations between objects from a certain collection. A "graph" in this context refers to a collection of vertices or 'nodes' and a collection of edges that connect pairs of...
NP-complete
NP-complete
In computational complexity theory, the complexity class NP-complete is a class of decision problems. A decision problem L is NP-complete if it is in the set of NP problems so that any given solution to the decision problem can be verified in polynomial time, and also in the set of NP-hard...
problem. The problem was one of Richard Karp's original 21 problems
Karp's 21 NP-complete problems
One of the most important results in computational complexity theory was Stephen Cook's 1971 demonstration of the first NP-complete problem, the boolean satisfiability problem...
shown NP-complete in his 1972 paper "Reducibility Among Combinatorial Problems".
The clique cover problem (also sometimes called partition into cliques) is the problem of determining whether the vertices of a graph can be partitioned into k cliques
Clique (graph theory)
In the mathematical area of graph theory, a clique in an undirected graph is a subset of its vertices such that every two vertices in the subset are connected by an edge. Cliques are one of the basic concepts of graph theory and are used in many other mathematical problems and constructions on graphs...
. Given a partition of the vertices into k sets, it can be verified in polynomial time that each set forms a clique, so the problem is in NP
NP (complexity)
In computational complexity theory, NP is one of the most fundamental complexity classes.The abbreviation NP refers to "nondeterministic polynomial time."...
. The NP-completeness of clique cover follows by reduction from GRAPH k-COLOURABILITY
Graph coloring
In graph theory, graph coloring is a special case of graph labeling; it is an assignment of labels traditionally called "colors" to elements of a graph subject to certain constraints. In its simplest form, it is a way of coloring the vertices of a graph such that no two adjacent vertices share the...
. To see this, first transform an instance G of GRAPH k-COLOURABILITY into its complement graph
Complement graph
In graph theory, the complement or inverse of a graph G is a graph H on the same vertices such that two vertices of H are adjacent if and only if they are not adjacent in G. That is, to generate the complement of a graph, one fills in all the missing edges required to form a complete graph, and...
G. A partition of G' into k cliques then corresponds to finding a partition of the vertices of G into k independent sets
Independent set (graph theory)
In graph theory, an independent set or stable set is a set of vertices in a graph, no two of which are adjacent. That is, it is a set I of vertices such that for every two vertices in I, there is no edge connecting the two. Equivalently, each edge in the graph has at most one endpoint in I...
; each of these sets can then be assigned one colour to yield a k-colouring.
The related clique edge cover problem considers sets of cliques that include all of the edges of a given graph. It is also NP-complete.