chickadee » exact-cover » exact-cover-fold

exact-cover-fold STATE KONS KNIL #!key limit shuffleprocedure

Folds (KONS labels acc) over the solutions, starting from KNIL. The labels of each solution are in the order chosen. The search stops after limit solutions.

shuffle, a procedure reordering a list, sets the order in which the options of each branch are tried (for example a random order).

Returns two values: the result and the search statistics.