Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Class: PuzzleSolvers.CombinationsConstraint

Summary

Describes a constraint in which a specified set of cells must have one of a specified set of exact value combinations.

Constructors

CombinationsConstraint(IEnumerable<int> affectedCells, IEnumerable<int?[]> combinations)
Constructor.
CombinationsConstraint(IEnumerable<int> affectedCells, IEnumerable<int[]> combinations)

Instance methods

ConstraintResultOverride; see base.
string
  • Overrides: object.ToString()
Override.

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.
boolOverride; see base.
int?[][]The set of combinations allowed for the specified set of cells.
int?Override; see base.