- Origin
N.Β Beldiceanu
- Constraint
-
- Arguments
| |
| |
| |
| |
- Restrictions
|
|
|
|
|
|
- Purpose
is the number of variables of the collection of
variables taking a value in .
is the number of variables of the collection of
variables taking a value in .
- Example
-
The constraint holds since:
Its first argument corresponds to the number of
values of the collection that occur
within .
Its second argument corresponds to the number of
values of the collection that occur
within .
- All solutions
FigureΒ 5.75.1 gives all solutions to the following non ground instance of the constraint:
, ,
, , , ,
, , ,
.
- Typical
|
|
|
|
- Symmetries
Arguments are permutable w.r.t. permutation .
Items of are permutable.
Items of are permutable.
All occurrences of two distinct values in or can be swapped; all occurrences of a value in or can be renamed to any unused value.
- Arg. properties
Functional dependency: determined by and .
Functional dependency: determined by and .
- Remark
It was shown inΒ [BessiereHebrardHnichWalsh04a] that, finding out
whether the constraint has a solution or not is NP-hard.
This was achieved by reduction from 3-SAT.
- See also
common keyword:
,
,
Β (constraint on the intersection).
generalisation:
Β ( replaced by ),
Β ( replaced by ),
Β ( replaced by ).
related:
,
.
root concept:
.
specialisation:
Β ().
- Keywords
complexity:
3-SAT.
constraint arguments:
constraint between two collections of variables,
pure functional dependency.
constraint type:
constraint on the intersection.
final graph structure:
acyclic,
bipartite,
no loop.
modelling:
functional dependency.