5.115. differ_from_at_least_k_pos
DESCRIPTION | LINKS | GRAPH | AUTOMATON |
- Origin
Inspired by [Frutos97].
- Constraint
- Type
- Arguments
- Restrictions
- Purpose
Enforce two vectors and to differ from at least positions.
- Example
-
The constraint holds since the first and second vectors differ from 3 positions, which is greater than or equal to .
- Typical
- Symmetries
Arguments are permutable w.r.t. permutation .
can be decreased to any value .
Items of and are permutable (same permutation used).
- Arg. properties
Extensible wrt. and (add items at same position).
- Remark
- Used in
- See also
implied by: Β ( replaced by ).
- Keywords
characteristic of a constraint: vector, automaton, automaton with counters.
constraint network structure: alpha-acyclic constraint network(2).
- Arc input(s)
- Arc generator
-
- Arc arity
- Arc constraint(s)
- Graph property(ies)
-
- Graph model
PartsΒ (A) andΒ (B) of FigureΒ 5.115.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.115.1. Initial and final graph of the constraint
(a) (b)
- Automaton
FigureΒ 5.115.2 depicts the automaton associated with the constraint. Let and be the variables of the and collections. To each pair of variables corresponds a signature variable . The following signature constraint links , and : .
Figure 5.115.2. Automaton of the constraint
Figure 5.115.3. Hypergraph of the reformulation corresponding to the automaton of the constraint