Graph K-Colorability

Input

Graph G=(V,E)G = (V, E), positive integer KVK \leq |V|.

Question

Is GG KK-colorable, i.e. does there exist a function f:V{1,2,,K}f: V \rightarrow \{1, 2, \dots, K\} such that f(u)f(v)f(u) \neq f(v) whenever {u,v}E\{u, v\} \in E?

Classes

Comments

Solvable in polynomial time for K=2K = 2, but remains NP-complete for all fixed K3K \geq 3 and, for K=3K = 3, for planar graphs having no vertex degree exceeding 4 (Garey et al., 1976). Also remains NP-complete for K=3K = 3 if GG is an intersection graph for straight line segments in the plane (Ehrlich et al., 1976). For arbitrary KK, the problem is NP-complete for circle graphs and circular arc graphs (even given their representation as families of arcs), although for circular arc graphs the problem is solvable in polynomial time for any fixed KK (given their representation). The general problem can be solved in polynomial time for comparability graphs (Even et al., 1972), for chordal graphs (Gavril, 1972), for (3,1)(3, 1) graphs (Walsh & Burkhard, 1977), and for graphs having no vertex degree exceeding 3 (Brooks, 1941).

Proofs

NP-complete

Transformation from 3-Satisfiability (Karp, 1972).

Reducible from

Reducible to

References