Implement prune and branch for graph coloring. Already works better than previous solution.
This commit is contained in:
@@ -2,4 +2,11 @@
|
||||
|
||||
## 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.
|
||||
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user