Hi, Denis!
Problems concerning GridChecker usage should be discussed in the thread GridChecker, an exhaustive puzzle enumerator.
Serg
denis_berthier wrote:ok, but then what software does gremlin use to do the check?
d:\SudokuCF> type TestP
.X.XX......X.....X.XX....X.X......X.....XX....X.XX............X...X.XX.X..X.X...X
d:\SudokuCF> gcc -O3 -o PatMinlex.exe PatMinlex.cpp
d:\SudokuCF> PatMinlex < TestP.txt
........X.....XXXX..X.X........XX.X...X.......X.XX.....X.X....XX.......XXX.X...X.
Mathimagics wrote:Ok, there seem to be complications preventing GridChecker from being easily compiled on MacOS ...
A solution for Denis:
- the zip file above now includes a stand-alone tool PatMinlex.cpp. This is an extraction of pattern-minlexing code from Mladen's "Sudoku Minlexing Tool"
- this should compile as is with gcc, there is nothing exotic in the code
- the program will accept normal puzzle format, also dot-X format (as shown beow). Output is dot-X format
- Code: Select all
d:\SudokuCF> type TestP
.X.XX......X.....X.XX....X.X......X.....XX....X.XX............X...X.XX.X..X.X...X
d:\SudokuCF> gcc -O3 -o PatMinlex.exe PatMinlex.cpp
d:\SudokuCF> PatMinlex < TestP.txt
........X.....XXXX..X.X........XX.X...X.......X.XX.....X.X....XX.......XXX.X...X.