Declaration
public LittleSandwichConstraint(
IEnumerable<int> affectedCells,
int sum,
int digit1 = 1,
int digit2 = 9,
int minValue = 1,
int maxValue = 9
)
Summary
Constructor.
Parameters
IEnumerable<int> | affectedCells |
The set of cells affected by this constraint. |
int | sum |
The total that the sandwiched numbers must sum up to. |
int | digit1 |
One of the numbers that form the edges of the sandwich. |
int | digit2 |
The other number that forms the edge of the sandwich. |
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. |