5.164. inflexion
| DESCRIPTION | LINKS | AUTOMATON |
- Origin
N.Β Beldiceanu
- Constraint
- Arguments
- Restrictions
- Purpose
is equal to the number of times that the following conjunctions of constraints hold:
,
,
.
where is the item of the collection and and is or .
- Example
-
The constraint holds since the sequence contains three inflexions peaks that respectively correspond to values 8, 2 and 7.
Figure 5.164.1. The sequence and its three inflexions

- Typical
- Symmetries
- Usage
Useful for constraining the number of inflexions of a sequence of domain variables.
- Remark
Since the arity of the arc constraint is not fixed, the constraint cannot be currently described. However, this would not hold anymore if we were introducing a slot that specifies how to merge adjacent vertices of the final graph.
- 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.164.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.164.2. Automaton of the constraint

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