5.295. open_among
DESCRIPTION | LINKS | GRAPH |
- Origin
- Constraint
- Arguments
- Restrictions
- Purpose
Let be the variables of the collection for which the corresponding position belongs to the set . Positions are numbered from 1. is the number of variables of that take their value in .
- Example
-
The constraint holds since within the last four values (i.e.,Β ) of exactly 3 values belong to the set of values .
- Typical
- Symmetries
Items of are permutable.
An occurrence of a value of that belongs to (resp. does not belong to ) can be replaced by any other value in (resp. not in ).
- Arg. properties
Functional dependency: determined by , and .
Suffix-contractible wrt. when .
- See also
common keyword: , Β (open constraint,value constraint), Β (open constraint,counting constraint).
- Keywords
constraint arguments: constraint involving set variables.
constraint type: open constraint, value constraint, counting constraint.
- Arc input(s)
- Arc generator
-
- Arc arity
- Arc constraint(s)
-
- Graph property(ies)
-
- Graph model
The arc constraint corresponds to the conjunction of unary constraints and defined in this catalogue. Consequently we employ the arc generator in order to produce an initial graph with a single loop on each vertex.
PartsΒ (A) andΒ (B) of FigureΒ 5.295.1 respectively show the initial and final graph associated with the Example slot. Since we use the graph property, the loops of the final graph are stressed in bold.
Figure 5.295.1. Initial and final graph of the constraint
(a) (b)