|
ADS
Algorithms and Data Structures
|
The exact cover by the dancing links of Knuth (his Algorithm X), beyond the book. More...
Files | |
| file | ADS/backtrack/DancingLinks.h |
| The exact cover by the dancing links of Knuth (his Algorithm X), beyond the book [see Enumeration.h for the backtrack of chapter 16]: given the items and the options, each a set of items, find the sets of options that contain every primary item exactly once and every secondary item at most once. | |
Classes | |
| class | ADS::ExactCover |
| the exact cover of the primary items, with the secondary ones at most once, on dancing links More... | |
The exact cover by the dancing links of Knuth (his Algorithm X), beyond the book.
The definitions, the invariants and the costs of the area are in Theory of backtracking.