Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

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.
intsum The total that the sandwiched numbers must sum up to.
intdigit1 One of the numbers that form the edges of the sandwich.
intdigit2 The other number that forms the edge of the sandwich.
intminValue The minimum value of numbers in the grid for this puzzle.
intmaxValue The maximum value of numbers in the grid for this puzzle.