Declaration
public PermutationUniquenessConstraint(
IEnumerable<int> affectedCells,
int minValue,
int maxValue,
Func<int[], bool> predicate
)
Summary
Constructs a
PermutationUniquenessConstraint by generating all permutations of numbers between
minValue and
maxValue that satisfy the given
predicate.
Parameters
IEnumerable<int> | affectedCells |
The cells affected by this constraint. |
int | minValue |
The minimum value a cell can have. |
int | maxValue |
The maximum value a cell can have. |
Func<int[], bool> | predicate |
A function defining what permutations are acceptable. |