Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Class: PuzzleSolvers.ParityNoTripletsConstraint

Summary

Describes a constraint in a number-placement puzzle that mandates that the parity (odd/evenness) of the values cannot form triplets in a row/column.

Remarks

This constraint enforces a single row or column. For a full Binairo puzzle, you will need instances of this constraint for every row and every column.

Constructors

ParityNoTripletsConstraint(IEnumerable<int> affectedCells)
Describes a constraint in a number-placement puzzle that mandates that the parity (odd/evenness) of the values cannot form triplets in a row/column. (see also remarks)

Instance methods

ConstraintResultRefer to the documentation for Constraint.Process.

Instance properties

boolRefer to the documentation for Constraint.CanReevaluate.