Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Class: PuzzleSolvers.AntiKingConstraint

Summary

Describes a constraint in a number placement puzzle where no adjacent cells (including diagonals) can have the same value.

Constructors

AntiKingConstraint(int gridWidth, int gridHeight, int[] affectedValues = null, IEnumerable<int> enforcedCells = null)
Describes a constraint in a number placement puzzle where no adjacent cells (including diagonals) can have the same value.

Static methods

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

Instance methods

ConstraintResultRefer to the documentation for Constraint.Process.