5.209. k_same_modulo
DESCRIPTION | LINKS | GRAPH |
- Origin
- Constraint
- Type
- Arguments
- Restrictions
- Purpose
Given a collection of sets, each containing the same number of domain variables, the constraint forces a constraint between each pair of consecutive sets.
- Example
-
The constraint holds since:
The first and second collections of variables are assigned 1 value in , 3 values in and 2 values in .
The second and third collections of variables are also assigned 1 value in , 3 values in and 2 values in .
- Typical
- Symmetries
Items of are permutable.
Items of are permutable.
An occurrence of a value of can be replaced by any other value such that is congruent to modulo .
- Arg. properties
Contractible wrt. .
- See also
common keyword: Β (system of constraints).
implies: .
- Keywords
characteristic of a constraint: sort based reformulation, modulo.
- Arc input(s)
- Arc generator
-
- Arc arity
- Arc constraint(s)
- Graph property(ies)
-
- Graph model
PartsΒ (A) andΒ (B) of FigureΒ 5.209.1 respectively show the initial and final graph associated with the Example slot. To each vertex corresponds a collection of variables, while to each arc corresponds a constraint.
Figure 5.209.1. Initial and final graph of the constraint
(a) (b)