Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: Heyawake(int, int, int[][], int?[])

Declaration

public Heyawake(
    int width,
    int height,
    int[][] regions,
    int?[] clues
)

Summary

Constructor.

Parameters

intwidth Specifies the width of the grid.
intheight 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.