Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

Declaration

public AntiBishopConstraint(
    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.