Summary
Describes a “Y-sum” constraint: the first Y numbers must sum up to a specified total, where Y is the Xth digit and
X is the first digit. This constraint implies a uniqueness constraint.
Remarks
Warning: This constraint is very memory-intensive. It is implemented as a
CombinationsConstraint
with all of the possible number combinations for the specified set of cells. Avoid using this on oversized
puzzles.
Constructors
|
Describes a “Y-sum” constraint: the first Y numbers must sum up to a specified total, where Y is the Xth digit and
X is the first digit. This constraint implies a uniqueness constraint. |
Instance methods
Instance properties
| int | | The total that the affected numbers must sum up to. |