Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: AntiChessConstraint(int, int, int[], IEnumerable<int>)

Declaration

public AntiChessConstraint(
    int gridWidth,
    int gridHeight,
    int[] affectedValues = null,
    IEnumerable<int> enforcedCells = null
)

Summary

Constructor.

Parameters

intgridWidth See AntiChessConstraint.GridWidth.
intgridHeight See AntiChessConstraint.GridHeight.
int[]affectedValues See AntiChessConstraint.AffectedValues.
IEnumerable<int>enforcedCells See AntiChessConstraint.EnforcedCells. If null, the default is to enforce the entire grid.