git-subtree-dir: software/minizinc git-subtree-split: 4f10c82056ffcb1041d7ffef29d77a7eef92cf76
7 lines
309 B
MiniZinc
7 lines
309 B
MiniZinc
%-----------------------------------------------------------------------------%
|
|
% Requires that 'y' is the ith element of the array 'x'.
|
|
%-----------------------------------------------------------------------------%
|
|
|
|
predicate element_bool(var int: i, array[int] of var bool: x, var bool: y) =
|
|
y = x[i];
|