Declaration
public Heyawake(
int width,
int height,
int[][] regions,
int?[] clues
)
Summary
Constructor.
Parameters
int | width |
Specifies the width of the grid. |
int | height |
Specifies the height of the grid. |
int[][] | regions |
Specifies the regions the grid is subdivided into. The regions must be disjoint (have no cells in common) and
must cover the entire grid. |
int?[] | clues |
Specifies the number of cells to be shaded in each region with the same index in regions,
or null for a region with no clue. The length of this array must match that of Heyawake.Regions. |