Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Class: PuzzleSolvers.SumAlternativeConstraint

Summary

Describes a constraint in a number-placement puzzle where either one of several regions must have a specified sum.

Constructors

SumAlternativeConstraint(int sum, params IEnumerable<int>[] regions)
Constructor.

Instance methods

ConstraintResultRefer to the documentation for Constraint.Process.

Instance properties

boolRefer to the documentation for Constraint.CanReevaluate.
int[][] Contains the regions affected by the constraint. At least one of these regions must have the sum specified by SumAlternativeConstraint.Sum. Each region is an array of cell indices.
intThe desired sum.