this repo has no description
1include "fzn_strictly_decreasing_int.mzn";
2include "fzn_strictly_decreasing_int_reif.mzn";
3include "fzn_strictly_decreasing_bool.mzn";
4include "fzn_strictly_decreasing_bool_reif.mzn";
5include "analyse_all_different.mzn";
6
7%-----------------------------------------------------------------------------%
8% Requires that the array 'x' is in strict decreasing order
9%-----------------------------------------------------------------------------%
10
11predicate strictly_decreasing(array[int] of var bool: x) =
12 analyse_all_different(x) /\
13 fzn_strictly_decreasing_bool(x);
14
15predicate strictly_decreasing_reif(array[int] of var bool: x, var bool: b) =
16 fzn_strictly_decreasing_bool_reif(x,b);
17
18predicate strictly_decreasing(array[int] of var int: x) =
19 analyse_all_different(x) /\
20 fzn_strictly_decreasing_int(x);
21
22predicate strictly_decreasing_reif(array[int] of var int: x, var bool: b) =
23 fzn_strictly_decreasing_int_reif(x,b);