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.

9 lines
232 B
MiniZinc

include "fzn_nvalue.mzn";
include "fzn_nvalue_reif.mzn";
/** @group globals.alldifferent
Requires that the number of distinct values in \a x is \a n.
*/
predicate nvalue(var int: n, array[int] of var int: x) =
fzn_nvalue(n, x);