Definition
Constraint Language (Constraint Satisfaction)
Example
Three-colouring as a restricted CSP
Let
For a graph , introduce one variable for each vertex and the constraint for each edge . The problem then asks whether the input graph has a proper three-colouring. The graph changes between instances; the allowed relation does not.