Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: AntiKnightConstraint(int, int, int[], IEnumerable<int>, bool)

Declaration

public AntiKnightConstraint(
    int gridWidth,
    int gridHeight,
    int[] affectedValues = null,
    IEnumerable<int> enforcedCells = null,
    bool toroidal = false
)

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.
booltoroidal See AntiKnightConstraint.Toroidal.