ArticleslgStudy

computer science

Clique cover

Clique cover is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Clique cover rather than just read about it. In short: 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. Generally, this means all vertices must be covered, and the term clique edge cover is used when all edges must be covered.

Clique cover — main illustration
Clique cover — illustration

Key takeaways

  • Clique cover belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Clique cover to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Clique cover from memory before moving on to harder problems.

Reference excerpt

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. Generally, this means all vertices must be covered, and the term clique edge cover is used when all edges must be covered. 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 n1 − ε. 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

Illustrations

Clique cover: A graph with a minimum clique cover colored
A graph with a minimum clique cover colored

Worked examples

Example 1 — a first encounter with Clique cover

Start with the simplest possible case. Write down what Clique cover claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Clique cover before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Clique cover ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Clique cover

In research
Clique cover appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Clique cover in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Clique cover is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computational problems in graph theory, Graph theory objects, NP-complete problems, so understanding it makes those chapters shorter.
In everyday life
Look for Clique cover outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Clique cover” →

How to study Clique cover in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Clique cover means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Clique cover out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Clique cover in simple terms?

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. Generally, this means all vertices must be covered, and the term clique edge cover is used when all edges must be covered.

Why does Clique cover matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Clique cover?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Clique cover.

Tags

  • Computational problems in graph theory
  • Graph theory objects
  • NP-complete problems

Keep exploring