What does it mean and how do you do that?You wrote:...and then enumerate all the minimal SudokuM puzzles that can be derived from that CF.
JPF wrote:Is there somewhere a definition of what you call canonical form CF of the puzzle SP?
I wrote:...and then enumerate all the minimal SudokuM puzzles that can be derived from that CP.
What does it mean and how do you do that?
Mathimagics wrote:JPF wrote:Is there somewhere a definition of what you call canonical form CF of the puzzle SP?
sudoku-64 -qFN -f%#0c prints puzzle in minlexgrid
n #automorphisms 6
SP Valid Puzzle .3.89......5.....4.17....5.9......8.....76....5.12............7...5.38.2..1.6...5
S Solution Grid 432895176895617324617432958976354281128976543354128769543281697769543812281769435
MLS MinLex(S) 123456789456789123789123456231564897564897231897231564315672948672948315948315672
CP1 Canonic puzzle .......89..67.........2.45.2....4.9.56....2.18........3....2.....2.48.......1.67.
CP2 Canonic puzzle .....67..45.....2..89......2.156.......8......9.2....4.....2.4867.....1....3....2
CP3 Canonic puzzle ...4.678..5.7....3...1.....2...6...........31..7...5.4.15.7.....7.9.......8...6.2
CP4 Canonic puzzle ..3.5.7........1..78....4.6.31......5.4..7......2...6.....7.9..6.2..8.......15.7.
CP5 Canonic puzzle .2.45........89...7.......6......8....4.9.2.....2.156..1.67......2...3...48.....2
CP6 Canonic puzzle 1........4.678....7....3.5....5.4..7.6....2......31......6.2..8.7.....159......7.
MLSP MinLex(SP) ........1.....2345..1.3........436....7.......3.86.....6.1....345.7..9..9.......8
sudoku-64 -qFN -f%#0c SP
sudoku-64 -qFN -f%#0c S
Mathimagics wrote:I have posted the code in the Software area ... have fun!
BTW, I didn't actually encode his algorithm, I just hammered his existing code into submission
Serg wrote:But Michael Deverin's code "hammered" by you runs 1.5 times faster than original code, isn't it?