Summary
Describes a constraint in a number placement puzzle in which cells that are at specific relative placements from one
another cannot contain the same value.
Constructors
AntiChessConstraint(int gridWidth, int gridHeight, int[] affectedValues = null, IEnumerable<int> enforcedCells = null) |
Constructor. |
Instance methods
Instance properties
| int[] | | Optionally specifies a limited set of values that are affected by the constraint. |
| int[] | |
Optionally specifies a limited set of cells on which the constraint is enforced. |
| int | | The height of the grid. |
| int | | The width of the grid. |