Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: SkyscraperUniquenessConstraint(int, IEnumerable<int>, int, int)

Declaration

public SkyscraperUniquenessConstraint(
    int clue,
    IEnumerable<int> affectedCells,
    int minValue = 1,
    int maxValue = 9
)

Summary

Constructor.

Parameters

intclue The number of skyscrapers visible.
IEnumerable<int>affectedCells The set of cells affected by this constraint. This is usually a row or column in a grid, but it can be any subset of grid points.
intminValue The minimum value of numbers in the grid for this puzzle.
intmaxValue The maximum value of numbers in the grid for this puzzle.