Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: NoAdjacentConstraint(int, int, params int[])

Declaration

public NoAdjacentConstraint(
    int width,
    int height,
    params int[] values
)

Summary

Represents a constraint in a number-placement puzzle that prohibits any of the values from appearing adjacent to one another.

Parameters

intwidth The width of the puzzle grid.
intheight The height of the puzzle grid.
int[]values The set of values that are not allowed to appear adjacent to one another.