Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Class: PuzzleSolvers.MaximumCountConstraint

Summary

Constrains a set of values to occur a specified maximum number of times within a specified region.

Constructors

MaximumCountConstraint(IEnumerable<int> cells, Func<int, bool> isRestrictedValue, int maxAllowed)
Constrains a set of values to occur a specified maximum number of times within a specified region.

Instance methods

ConstraintResultRefer to the documentation for Constraint.Process.

Instance properties

Func<int, bool> The value that may only occur up to MaximumCountConstraint.MaxAllowed number of times within Constraint.AffectedCells.
int The maximum number of times a restricted value (MaximumCountConstraint.IsRestrictedValue) may occur within Constraint.AffectedCells.