5.327. product_ctr
DESCRIPTION | LINKS | GRAPH |
- Origin
Arithmetic constraint.
- Constraint
- Arguments
- Restrictions
- Purpose
Constraint the product of a set of domain variables. More precisely, let denote the product of the variables of the collection. Enforce the following constraint to hold: .
- Example
-
The constraint holds since its last argument is equal (i.e.,Β is set to ) to .
- Typical
- Symmetry
Items of are permutable.
- Arg. properties
Contractible wrt. when and .
Aggregate: , , when .
- Used in
- See also
- Keywords
- Arc input(s)
- Arc generator
-
- Arc arity
- Arc constraint(s)
- Graph property(ies)
-
- Graph model
Since we want to keep all the vertices of the initial graph we use the arc generator together with the arc constraint. This predefined arc constraint always holds.
PartsΒ (A) andΒ (B) of FigureΒ 5.327.1 respectively show the initial and final graph associated with the Example slot. Since we use the arc constraint both graphs are identical.
Figure 5.327.1. Initial and final graph of the constraint
(a) (b)