Professional Documents
Culture Documents
7K3RPT9C 74
7K3RPT9C 74
A {1, 2} B {1, 2}
A<C even(B + C)
C {1, 4}
The constraint graph of this problem forms a tree. If we take the ordering (A, B, C),
then achieving DAC does not reduce any of the three domains (for all values in the
domain of B, there exists at least one value in the domain of C which is compatible
with it; similarly, for all values in the domain of A, there exists at least one value in
the domains of B and C which is compatible with it). Achieving DAC in the reverse
order (C, B, A), though, will remove 1 from the domain of C, since no value in the
domain of A which is less than 1 (constraint (1)). So only <C,1> is removed after
achieving DAC in the specified direction and its reverse. However, the reduced
problem is still not AC, because C has no compatible value with <B,1> — the only
value left for C is 4, but 1 + 4 is not even (hence constraint (2) is violated). To
achieve AC, <B,1> must be removed.