Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: SumUniquenessConstraint(int, IEnumerable<int>, int, int)

Declaration

public SumUniquenessConstraint(
    int sum,
    IEnumerable<int> affectedCells,
    int minValue = 1,
    int maxValue = 9
)

Summary

Constructor.

Parameters

intsum The total that the cells must sum up to.
IEnumerable<int>affectedCells The set of cells affected by this constraint (the “cage”).
intminValue The minimum value of numbers in the grid for this puzzle.
intmaxValue The maximum value of numbers in the grid for this puzzle.