Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Class: PuzzleSolvers.AntiBishopConstraint

Summary

Describes a constraint in a number placement puzzle in which cells that are diagonal from each other (like a bishop’s move in chess) cannot contain the same value.

Constructors

AntiBishopConstraint(int gridWidth, int gridHeight, int[] affectedValues = null, IEnumerable<int> enforcedCells = null)
Describes a constraint in a number placement puzzle in which cells that are diagonal from each other (like a bishop’s move in chess) cannot contain the same value.

Static methods

IEnumerable<int>
BishopsMoves(int cell, int gridWidth, int gridHeight)
Returns all cells reachable from the specified cell by a bishop’s move in chess.

Instance methods

ConstraintResultRefer to the documentation for Constraint.Process.