The chromatic number of G is chi(G) = min{k  there exists a kcoloring of G}. A kcoloring of G is a partition into k sets of vertices such that in each of these sets, none of the members form edges with each other.


The object chromaticNumber is a method function.