5.40. between_min_max
| DESCRIPTION | LINKS | GRAPH | AUTOMATON |
- Origin
- Constraint
- Arguments
- Restrictions
- Purpose
is greater than or equal to at least one variable of the collection and less than or equal to at least one variable of the collection .
- Example
-
The constraint holds since its first argument 3 is greater than or equal to the minimum value of the values of the collection and less than or equal to the maximum value of .
- Typical
- Symmetries
Items of are permutable.
can be set to any value of .
- Reformulation
By introducing two extra variables and , the constraint can be expressed in term of the following conjunction of constraints:
Β Β Β ,
Β Β Β .
- Used in
- See also
implied by: , .
- Keywords
characteristic of a constraint: automaton, automaton without counters, reified automaton constraint.
constraint network structure: centered cyclic(1) constraint network(1).
- Derived Collection
- Arc input(s)
- Arc generator
-
- Arc arity
- Arc constraint(s)
- Graph property(ies)
-
- Graph class
-
- Arc input(s)
- Arc generator
-
- Arc arity
- Arc constraint(s)
- Graph property(ies)
-
- Graph class
-
- Graph model
PartsΒ (A) andΒ (B) of FigureΒ 5.40.1 respectively show the initial and final graph associated with the second graph constraint of the Example slot. Since we use the graph property, the two arcs of the final graph are stressed in bold. The constraint holds since 3 is greater than 1 and since 3 is less than 8.
Figure 5.40.1. Initial and final graph of the constraint


(a) (b)
- Automaton
FigureΒ 5.40.2 depicts the automaton associated with the constraint. To each pair , where is a variable of the collection corresponds a signature variable . The following signature constraint links , and : .
Figure 5.40.2. Automaton of the constraint

Figure 5.40.3. Hypergraph of the reformulation corresponding to the automaton of the constraint
