Namespace SudokuSpice.RuleBased.Heuristics
Classes
StandardHeuristic
Provides the standard UniqueIn*
heuristics.
UniqueInBoxHeuristic
Checks for any squares that are the unique provider of a given possible value within a box. Sets the possible values for those squares to just their unique value.
For example, if a box had three unset squares with possible values: A: [1, 2]
,
B: [1, 2]
, and C: [1, 2, 3]
, then this would set C
's possible values
to [3]
.
UniqueInColumnHeuristic
Checks for any squares that are the unique provider of a given possible value within a column. Sets the possible values for those squares to just their unique value.
UniqueInRowHeuristic
Checks for any squares that are the unique provider of a given possible value within a row. Sets the possible values for those squares to just their unique value.
UniqueInXHelper
Interfaces
IHeuristic
Performs some logical trickery to reduce the number of possible values for a square. Unlike an IRule, this depends on the current possible values in the puzzle, not just the currently set values.