Hi,
eleven!
eleven wrote:Serg wrote:I faced with it many times while doing exhaustive search projects. For example, it arises when we try to combine two possible band contents in the same grid, starting with e-d bands list.
Would you post an example?
Here is an example of "broken automorhisms problem" concerning exhaustive search projects.
Let's find all valid puzzles for the pattern
- Code: Select all
+-----+-----+-----+
|x . x|. . .|. . .|
|. x .|. . .|. . .|
|x . x|. . .|. . .|
+-----+-----+-----+
|. . .|x x x|x x x|
|. . .|x x x|x x x|
|. . .|x x x|x x x|
+-----+-----+-----+
|. . .|x x x|x x x|
|. . .|x x x|x x x|
|. . .|x x x|x x x|
+-----+-----+-----+
Following method of
blue (based on
Red Ed ideas), I switched from searching possible clue value combinations to searching possible free cells value combinations. So, I searched for possible completions for this pattern.
To speed up search is essential to find all
valid completions (i.e. not containing unhitted UA sets) for the pattern
- Code: Select all
+-----+-----+-----+
|x . x|. . .|. . .|
|. x .|. . .|. . .|
|x . x|. . .|. . .|
+-----+-----+-----+
|x x x|x x x|x x x|
|x x x|x x x|x x x|
|x x x|x x x|x x x|
+-----+-----+-----+
|x x x|x x x|x x x|
|x x x|x x x|x x x|
|x x x|x x x|x x x|
+-----+-----+-----+
first, and then combine bands (B1, B2, B3 boxes) and stacks (B1, B4, B7 boxes).
It turns out this one-band-free patterns has 274 valid completions only. It is because of rather large number of automorphisms for those completions - 144 automorphisms (I counted automorphisms involving free cells only, so "dummy" automorphisms like swapping bands B456 and B789 was not calculated).
Next step - assembling original pattern's completions (free band + free stack) using 274 valid completions for a band (stack). We can use those 274 valid completions for B123 band, but must consider more variants for stack B147 completions, because filled B123 band "brokes" some automorphisms of the stack - swapping columns c1/c3 and swapping rows r1/r3 are not allowed for B147 stack now, because it could destroy minimal form of B123 band. So, we need to produced additional isomorphs for each stack's completion taken from 274 valid completions list (3 additional isomorphs for each completion).
Serg