this repo has no description
1include "count_fn.mzn";
2
3%-----------------------------------------------------------------------------%
4% Requires exactly 'n' variables in 'x' to take the value 'v'.
5%-----------------------------------------------------------------------------%
6
7predicate fzn_exactly_int(int: n, array[int] of var int: x, int: v) =
8 n == count(x, v);