5.288. set_value_precede
| DESCRIPTION | LINKS |
- Origin
- Constraint
- Arguments
- Restrictions
- Purpose
-
If there exists a set variable of such that does not belong to and does, then there also exists a set variable preceding such that belongs to and does not.
- Example
-
The constraint holds since the first occurrence of value 2 precedes the first occurrence of value 1.
- Algorithm
A filtering algorithm for maintaining value precedence on a sequence of set variables is presented inΒ [YatChiuLawJimmyLee04]. Its complexity is linear to the number of variables of the collection .
- See also
specialisation: Β ( of replaced by of ).
- Keywords
constraint arguments: constraint involving set variables.
constraint type: order constraint.
symmetry: symmetry, indistinguishable values, value precedence.