Crate dancing_links
source ·Expand description
Implementation of Dancing Links and Algorithm X for solving exact cover problems.
Modules
- Dancing links
Grid
implementation for use in theSolver
. - 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.
- The
n
queens puzzle is the problem of placingn
chess queens on ann
×n
chessboard so that no two queens threaten each other. - 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 that iteratively returns solutions to exact cover problems.
Traits
- An instance of an exact cover problem.