Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Class: PuzzleSolvers.ContiguousAreaConstraint

Summary

Describes a constraint that mandates that the specified values must form a contiguous (orthogonally connected) area.

Constructors

ContiguousAreaConstraint(int width, int height, params int[] values)
Describes a constraint that mandates that the specified values must form a contiguous (orthogonally connected) area.

Static methods

HashSet<int>
FindArea(int cell, int width, int height, Func<int, bool> isValue)
Provides a helper method to determine if an area is contiguous.

Instance methods

ConstraintResultRefer to the documentation for Constraint.Process.

Instance properties

intHeight of the puzzle grid.
int[]Set of values that must form a contiguous area.
intWidth of the puzzle grid.