5.150. highest_peak
| DESCRIPTION | LINKS | AUTOMATON |
- Origin
- Constraint
- Arguments
- Restrictions
- Purpose
A variable of the sequence of variables is a peak if and only if there exists an such that and and . is the maximum value of the peak variables. If no such variable exists is equal to 0.
- Example
-
The constraint holds since 8 is the maximum peak of the sequence .
Figure 5.150.1. The sequence and its highest peak

- Typical
- Symmetry
Items of can be reversed.
- See also
common keyword: , Β (sequence).
- Keywords
characteristic of a constraint: automaton, automaton with counters.
combinatorial object: sequence.
constraint network structure: sliding cyclic(1) constraint network(2).
- Automaton
FigureΒ 5.150.2 depicts the automaton associated with the constraint. To each pair of consecutive variables of the collection corresponds a signature variable . The following signature constraint links , and :
.
Figure 5.150.2. Automaton of the constraint

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