Declaration
public SandwichWraparoundUniquenessConstraint(
int value1,
int value2,
int sum,
IEnumerable<int> affectedCells,
int minValue = 1,
int maxValue = 9
)
Summary
Constructor.
Parameters
int | value1 |
The first number forms the left edge of the sandwich. |
int | value2 |
The second number that forms the right edge of the sandwich. |
int | sum |
The total that the sandwiched numbers must sum up to. |
IEnumerable<int> | affectedCells |
The set of cells affected by this constraint. This is usually a row or column in a grid, but it can be any
subset of grid points. |
int | minValue |
The minimum value of numbers in the grid for this puzzle. |
int | maxValue |
The maximum value of numbers in the grid for this puzzle. |