5.206. max_index
| DESCRIPTION | LINKS | GRAPH |
- Origin
N.Β Beldiceanu
- Constraint
- Arguments
- Restrictions
- Purpose
is the index of the variables corresponding to the maximum value of the collection of variables .
- Example
-
The attribute of the third item of the collection is the maximum value over values . Consequently, the constraint holds since its first argument is set to 3.
- Symmetries
Items of are permutable.
One and the same constant can be added to the attribute of all items of .
- See also
- Keywords
- Arc input(s)
- Arc generator
-
- Arc arity
- Arc constraint(s)
- Graph property(ies)
-
- Graph model
PartsΒ (A) andΒ (B) of FigureΒ 5.206.1 respectively show the initial and final graph associated with the Example slot. Since we use the graph property, the vertex of rank 0 (without considering the loops) of the final graph is outlined with a thick circle.
Figure 5.206.1. Initial and final graph of the constraint


(a) (b)