Summary
Contains extension methods for code related to PuzzleSolvers.
Static methods
IEnumerable<int> | Adjacent(int cell, int gridWidth = 9, int gridHeight = 9) | Returns the set of cells adjacent to the specified cell (including diagonals). |
IEnumerable<int[]> | Combinations(int minValue, int maxValue, int numDigits, bool allowDuplicates = false) |
Generates all combinations of numDigits digits, each between minValue
and maxValue. |
IEnumerable<int> | Orthogonal(int cell, int gridWidth = 9, int gridHeight = 9) | Returns the set of cells orthogonally adjacent to the specified cell (no diagonals). |
int | |
Converts a convenient coordinate notation into a puzzle-grid index. |
IEnumerable<int> | |
Converts a convenient coordinate notation into puzzle-grid indices. |