Expand description
Implementation of Dancing Links and Algorithm X for solving exact cover problems.
Modules§
- grid
- Dancing links
Gridimplementation 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
nqueens puzzle is the problem of placingnchess queens on ann×nchessboard so that no two queens threaten each other. - sudoku
- A Sudoku puzzle is a
n^2×n^2array with sub-arrays of sizen×n. Each row, column, and sub-array contains the values1throughnwith no repeats.
Structs§
- Solver
- Solver that iteratively returns solutions to exact cover problems.
Traits§
- Exact
Cover - An instance of an exact cover problem.