1
0
This repository has been archived on 2025-03-06. You can view files and clone it, but cannot push or open issues or pull requests.

8 lines
342 B
MiniZinc

%-----------------------------------------------------------------------------%
% Requires that 'y' is the ith element of the array 'x'.
%-----------------------------------------------------------------------------%
predicate element_set(var int: i, array[int] of var set of int: x,
var set of int: y) =
y = x[i];