- Origin
Constraint explicitly defined by tuples of values.
- Constraint
-
- Synonyms
,
,
,
,
,
,
,
,
.
- Types
| |
| |
- Arguments
| |
| |
- Restrictions
|
|
|
|
|
|
- Purpose
Enforce the tuple of variables
to take its value out of a set of tuples of values
.
The value of a tuple of variables
is a tuple of values
if and only if
.
- Example
-
The constraint holds since its
first argument corresponds to the
third item of the collection of tuples .
- Typical
-
- Symmetries
Items of are permutable.
Items of and are permutable (same permutation used).
All occurrences of two distinct tuples of values in or can be swapped; all occurrences of a tuple of values in or can be renamed to any unused tuple of values.
- Arg. properties
Extensible wrt. .
- Usage
Quite often some constraints cannot be easily expressed,
neither by a formula, nor by a regular pattern. In this
case one has to define the constraint by specifying in
extension the combinations of allowed values.
- Remark
The constraint is called in
JaCoP
(http://www.jacop.eu/).
Within
SICStus Prolog
the constraint can be applied to more than a single tuple of variables
and is called .
WithinΒ [BourdaisGalinierPesant03] this constraint
is called .
The constraint is called
in MiniZinc
(http://www.minizinc.org/).
- Systems
feasPairAC in Choco,
infeasPairAC in Choco,
relationPairAC in Choco,
feasTupleAC in Choco,
infeasTupleAC in Choco,
relationTupleAC in Choco,
extensional in Gecode,
extensionalsupportVA in JaCoP,
extensionalsupportMDD in JaCoP,
extensionalsupportSTR in JaCoP,
table in MiniZinc,
case in SICStus,
relation in SICStus,
table in SICStus.
- Used in
,
,
,
,
.
- See also
common keyword:
Β (data constraint).
cost variant:
Β ( parameter added).
used in graph description:
.
- Keywords
characteristic of a constraint:
tuple,
derived collection.
combinatorial object:
relation.
constraint type:
data constraint,
extension.
filtering:
arc-consistency.
- Derived Collection
-