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
389 B
MiniZinc

predicate fzn_int_set_channel(array[int] of var int: x,
array[int] of var set of int: y) =
forall(i in index_set(x)) (x[i] in index_set(y)) /\
forall(j in index_set(y)) (y[j] subset index_set(x)) /\
forall(i in index_set(x), j in index_set(y)) (x[i] = j <-> i in y[j]);
%-----------------------------------------------------------------------------%