Declaration
public MinMaxSumConstraint(
int sum,
bool min,
bool max,
IEnumerable<int> affectedCells
)
Summary
Describes a constraint in which the sum of values in a specific region must have a specified minimum or maximum.
Remarks
Note that if
min and
max are both set to
true
, the result is a
SumConstraint. If they are both
false
, this constraint has no effect.