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 ==Approximation==