alyssa21 wrote:I'm interested in your mehotd.
you don't write a paper or so about your method?
gsf wrote:it took ~2weeks @ 3Ghz to generate and compress
it takes ~7hours to decompress and list
the url above points to a thread that contains some details
basically it does the search in minlex puzzle order
and splits it by minlex bands
it fills in the current search puzzle top to bottom left to right
this allows it to prune by doing minlex checks of the partial puzzle
if it minlex's to a smaller puzzle it is discarded
this is the crux of the algorithm: it is able to check for duplicates via minlex only
and does not have to check all previously generated puzzles in the search
the bottleneck is the partial puzzle minlex algorithm
to save time it is not recomputed with every clue addition
the minlex canonical bands are labeled
001-416you can use my solver to generate all of the essentially different puzzles in a minlex band NNN with the option
- Code: Select all
-gbNNN
a puzzle is a member of a band class NNN iff it is not a member of a band class MMM, MMM < NNN
this means that some band classses may have 0 members
it also means that lower numbered band classes usually take longer to generate
but it also means that if you have 416 spare cpus you can partition the search by band