Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Abstract class: PuzzleSolvers.AntiChessConstraint

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

ConstraintResultRefer to the documentation for Constraint.Process.

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. (see also remarks)
intThe height of the grid.
intThe width of the grid.