5.418. vec_eq_tuple
DESCRIPTION | LINKS | GRAPH |
- Origin
- Constraint
- Arguments
- Restrictions
- Purpose
Enforce a vector of domain variables to be equal to a tuple of values.
- Example
-
The constraint holds since the first, the second and the third items of are respectively equal to the first, the second and the third items of .
- Typical
- Symmetries
Arguments are permutable w.r.t. permutation .
Items of and are permutable (same permutation used).
- Arg. properties
Contractible wrt. and (remove items from same position).
- Used in
- See also
generalisation: Β ( replaced by in second argument).
implies: .
- Keywords
characteristic of a constraint: tuple.
- Arc input(s)
- Arc generator
-
- Arc arity
- Arc constraint(s)
- Graph property(ies)
-
- Graph model
PartsΒ (A) andΒ (B) of FigureΒ 5.418.1 respectively show the initial and final graph associated with the Example slot. Since we use the graph property, the arcs of the final graph are stressed in bold.
Figure 5.418.1. Initial and final graph of the constraint
(a) (b) - Signature
Since we use the arc generator on the collections and , and because of the restriction , the maximum number of arcs of the final graph is equal to . Therefore we can rewrite the graph property to and simplify to .