5.203. ith_pos_different_from_0
DESCRIPTION | LINKS | AUTOMATON |
- Origin
N.Β Beldiceanu
- Constraint
- Arguments
- Restrictions
- Purpose
is the position of the non-zero item of the sequence of variables .
- Example
-
The constraint holds since 4 corresponds to the position of the 2th non-zero item of the sequence .
- Typical
- Symmetry
An occurrence of a value of that is different from 0 can be replaced by any other value that is also different from 0.
- Arg. properties
Suffix-extensible wrt. .
- Keywords
characteristic of a constraint: joker value, automaton, automaton with counters.
constraint network structure: alpha-acyclic constraint network(3).
- Automaton
FigureΒ 5.203.1 depicts the automaton associated with the constraint. To each variable of the collection corresponds a 0-1 signature variable . The following signature constraint links and : .
Figure 5.203.1. Automaton of the constraint
Figure 5.203.2. Hypergraph of the reformulation corresponding to the automaton of the constraint