- Unary Constraint - restricts the value of a single variable
- Binary Constraint - restricts the values of two variables through a relation
- Global Constraint - constraint involving an arbitrary number of variables
node-consistency (1-consistency)
The node representing a variable V in constraint graph is node consistent if for every value x in the current domain of V, each unary constraint on V is satisfied
arc-consistency (2-consistency)
Arc (Vi,Vj) is arc consistent if for every value x the current domain of Vi there is some value y in the domain of Vj such that Vi=x and Vj=y is permitted by the binary constraint between Vi and Vj
/constraint-satisfaction-problems-(csp)/csp---consistency-types/screen-shot-2019-03-25-at-10.03.07-pm.png)
(exp. this constraint graph is arc consistent but there is no solution that satisfies all the constraints)
path-consistency v 3-consistency
3-consistency coincides with path consistency only if all constraints are binary, because path consistency does not involve ternary constraints while 3-consistency does
k-consistency
A graph is k-consistent if, for any set of k-1 variables and for any consistent assignment to those variables, a consistent value can always be assigned to any kth variable
strongly k-consistent
A graph is strongly k-consistent If it is k-consistent and is also (k-1) consistent, (k-2) consistent… all the way down to 1
bounds consistency
The node representing a variable Vi in constraint graph is bound consistent if both the lower-bound and upper-bound values of domain of Vi, there exists some value of Vjthat satisfies the constraint between Viand Vjfor every variable Vj
directional arc and path consistency
Assuming that the order of evaluation of the variables is , a constraint satisfaction problem is directionally arc consistent if every variable
is arc consistent with any other variable
such that
. Directional path consistency is similar, but two variables
have to be path consistent with
only if
.
relational consistency
todo
https://en.wikipedia.org/wiki/Local_consistency#Path_consistencyhttps://ktiml.mff.cuni.cz/~bartak/constraints/consistent.html#pc