Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: int[] CalculateSlitherlinkClues(bool[], int)

Declaration

public static int[] CalculateSlitherlinkClues(
    bool[] grid,
    int width
)

Summary

Returns an array containing all of the Slitherlink clues for the specified grid.

Parameters

bool[]grid A filled grid of pixels.
intwidth The width of the grid. The height is assumed to be grid.Length − width.

Remarks

This method will not check whether the grid is a valid Slitherlink (a single contiguous region with no holes).