Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Class: PuzzleSolvers.PermutationUniquenessConstraint

Summary

Describes a CombinationsConstraint that also implies a UniquenessConstraint.

Constructors

PermutationUniquenessConstraint(IEnumerable<int> affectedCells, int minValue, int maxValue, Func<int[], bool> predicate)
Constructs a PermutationUniquenessConstraint by generating all permutations of numbers between minValue and maxValue that satisfy the given predicate.

Instance methods

ConstraintResultRefer to the documentation for Constraint.Process.
stringOverride.

Static methods

int
TranslateCoordinate(string str, int gridWidth = 9)
Converts a convenient coordinate notation into a puzzle-grid index.
IEnumerable<int>
TranslateCoordinates(string str, int gridWidth = 9)
Converts a convenient coordinate notation into puzzle-grid indices.

Instance properties

int[]The group of cells affected by this constraint, or null if it affects all of them.
boolRefer to the documentation for Constraint.CanReevaluate.
int?[][]The set of combinations allowed for the specified set of cells.
int?Refer to the documentation for Constraint.NumCombinations.