ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
Backtracking

The enumerations by backtrack. More...

Topics

 Theory of backtracking
 Anagrams.h
 The anagrams (exercise 16.8).
 Enumeration.h
 The enumeration of the feasible solutions by backtrack (section 16.2).
 FastExactCover.h
 The engineered exact cover with colors, beyond the book.
 KnightTour.h
 The tour of the knight (exercise 16.6).
 NQueens.h
 The \( n \) queens (exercise 16.5).
 SatSolvers.h
 Two solvers of the satisfiability of a formula in conjunctive normal form, after Knuth (section 7.2.2.2 of The Art of Computer Programming), beyond the book.
 Sudoku.h
 The Sudoku (reality check of section 16.3 and exercise 16.7), of size \( n^2 \times n^2 \) with the numbers \( 1 , \ldots , n^2 \), \( n = 3 \) the classic one.

Detailed description

The enumerations by backtrack.

The definitions, the invariants and the costs of the area are in Theory of backtracking.