Summary
Describes a constraint in a number-placement puzzle (such as a Thermometer Sudoku) where a series of cells must be
in ascending order.
Constructors
Static methods
IEnumerable<LessThanConstraint> | FromString(string representation, int gridWidth = 9) |
Generates multiple LessThanConstraint from a semicolon-separated list of coordinate regions
represented in the format understood by Constraint.TranslateCoordinates(string, int). |
int | |
Converts a convenient coordinate notation into a puzzle-grid index. |
IEnumerable<int> | |
Converts a convenient coordinate notation into puzzle-grid indices. |
Instance methods
Instance properties
int[] | |
Contains the region of cells affected by this constraint (the “thermometer”). The order of cells in this array
is significant as the constraint assumes these to be ordered from smallest to largest value. |
bool | | Override; see base. |
int? | |
Indicates an approximate number of possible combinations of digits this constraint can still accommodate. This
will help the solver prioritize cells when multiple cells have the same number of combinations individually. |