Expand description
Implementation of Dancing Links and Algorithm X for solving exact cover problems.
Modules§
- grid
- Dancing links
Grid
implementation for use in theSolver
. - latin_
square - A Latin square is a n × n array filled with n different symbols, each occurring exactly once in each row and exactly once in each column.
- queens
- The
n
queens puzzle is the problem of placingn
chess queens on ann
×n
chessboard so that no two queens threaten each other. - sudoku
- A Sudoku puzzle is a
n^2
×n^2
array with sub-arrays of sizen
×n
. Each row, column, and sub-array contains the values1
throughn
with no repeats.
Structs§
- Solver
- Solver that iteratively returns solutions to exact cover problems.
Traits§
- Exact
Cover - An instance of an exact cover problem.