Interface IPossibleValues
Stores possible values for a puzzle's coordinates.
Inherited Members
Namespace: SudokuSpice.RuleBased
Assembly: SudokuSpice.dll
Syntax
public interface IPossibleValues : IReadOnlyPossibleValues
Methods
| Improve this Doc View SourceIntersectPossibleValues(Coordinate, BitVector)
Modifies the possible values for a square to be the intersect of the current possible
values and the given possibleValues.
Declaration
void IntersectPossibleValues(in Coordinate c, BitVector possibleValues)
Parameters
| Type | Name | Description |
|---|---|---|
| Coordinate | c | |
| BitVector | possibleValues |
ResetPossibleValues(Coordinate)
Resets the possible values at the given location to be all possible values for this puzzle.
Declaration
void ResetPossibleValues(in Coordinate c)
Parameters
| Type | Name | Description |
|---|---|---|
| Coordinate | c |
SetPossibleValues(Coordinate, BitVector)
Sets the possible values for a square.
Declaration
void SetPossibleValues(in Coordinate c, BitVector possibleValues)
Parameters
| Type | Name | Description |
|---|---|---|
| Coordinate | c | |
| BitVector | possibleValues |