Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: PermutationUniquenessConstraint(IEnumerable<int>, int, int, Func<int[], bool>)

Declaration

public PermutationUniquenessConstraint(
    IEnumerable<int> affectedCells,
    int minValue,
    int maxValue,
    Func<int[], bool> predicate
)

Summary

Constructs a PermutationUniquenessConstraint by generating all permutations of numbers between minValue and maxValue that satisfy the given predicate.

Parameters

IEnumerable<int>affectedCells The cells affected by this constraint.
intminValue The minimum value a cell can have.
intmaxValue The maximum value a cell can have.
Func<int[], bool>predicate A function defining what permutations are acceptable.