- Origin
Derived from
- Constraint
-
- Arguments
| |
| |
- Restrictions
|
|
|
|
|
|
|
|
|
- Purpose
In order to define the meaning of the constraint,
we first introduce the notions of stretch and span.
Let be the number of variables of the collection and
let be the number of items of the collection .
Let be
consecutive variables of the collection of variables
such that the following conditions apply:
We call such a set of variables a stretch.
The span of the stretch is equal to .
We now define the condition enforced by the constraint.
All variables of the collection should be assigned value 0 or 1.
In addition there is successive stretches of respective span
.
- Example
-
The constraint holds since the
sequence contains a first stretch (i.e.,Β a maximum sequence of 1) of span 2
and a second stretch of span 1.
- Typical
|
|
- Symmetry
Items of and are simultaneously reversable.
- Usage
The constraint can be used in order to model the logigraphe problem.
- See also
root concept:
.
- Keywords
characteristic of a constraint:
automaton,
automaton without counters,
reified automaton constraint.
constraint network structure:
Berge-acyclic constraint network.
filtering:
arc-consistency.
modelling exercises:
logigraphe.
puzzles:
logigraphe.