Declaration
public static IEnumerable<LessThanConstraint> FromString(
string representation,
int gridWidth = 9,
int minDifference = 1
)
Summary
Generates multiple
LessThanConstraint from a semicolon-separated list of coordinate regions
represented in the format understood by
Constraint.TranslateCoordinates(string, int).
Parameters
string | representation |
The string representation of the set of regions. |
int | gridWidth |
The width of the grid. If not specified, the default value is 9. |
int | minDifference |
Specifies the minimum difference between adjacent cells. The default is 1. This can be set to 0 to achieve a
“slow thermometer”. |