tarek wrote:IIRC you can paste a penci-Mark grid into the GUI but it won’t go any further.
I very rarely run the SE GUI, the load/save and copy/paste options appear to handle 9x9 grids only. Code changes will be required to read pencil-marks, and this work (for me) would be fairly low-priority as I don't usually use the GUI!
For a quick fix, I modified SEHINTS.jar (called it SukakuHints.jar) to read a line of 729 chars of pencil-marks. This rates tarek's sukaku as SE=2.6/1.5/1.5. It fails to rate Ruud's sukaku, this may be due a 'long' variable being 64 bits, and coincidentally, a sudoku with the minimum of givens also has (81-17=) 64 empty cells.
tarek's sukaku, SE=2.6/1.5/1.5
Hidden Text: Show
- Code: Select all
123456789.23456789.23456789.23456789.23456789.23456789.234567891234567891234567891234567891.34567891.34567891.34567891234567891.34567891.345678912345678912345678912...678912...678912345678912...678912.4.678912.45678912.4.678912...678912...678912.45678912.45678912345678912.45678912.45678912.45678912.45678912.4567891234567891.3.567891.3.567891.3.567891.3.567891.3.567891.3.567891.34567891.3.56789123456789123456789.23456.89.2345..89.23456789.2345..89.23456.89.2345..89.2345.789.2345..89123.567.9123.567.91234567.9123.567.91234567.91234567.91234567891234567.9123.567.912.4.678912.4567891234.678912.4.678912345678912.45678912.45678912.4.67891234.6789123456.891.3456.891.3456.891.3456.89123456.891.3456.891.3456.89123456789123456.89
....................3............................................................ 1.5, Hidden Single: R3C3: 3 in row
....................3..5......................................................... 1.5, Hidden Single: R3C6: 5 in row
....................3..5...........3............................................. 1.5, Hidden Single: R4C9: 3 in row
....................3..5...........3........2.................................... 1.5, Hidden Single: R5C9: 2 in row
....................3..5...........3......4.2.................................... 1.5, Hidden Single: R5C7: 4 in row
....................3.45...........3......4.2.................................... 1.5, Hidden Single: R3C5: 4 in row
....................3.45...........3......4.21................................... 1.5, Hidden Single: R6C1: 1 in row
....................3.45...........3......4.21..............8.................... 1.5, Hidden Single: R7C7: 8 in row
....................3.45...........3......4.21..............8......3............. 1.5, Hidden Single: R8C5: 3 in row
....................3.45...........3......4.21..............8......3...........7. 1.5, Hidden Single: R9C8: 7 in row
....................3.45.........7.3......4.21..............8......3...........7. 1.2, Hidden Single: R4C7: 7 in block
....................3.45.........7.3......4.21..7...........8......3...........7. 1.5, Hidden Single: R6C4: 7 in row
....................3.45.........7.3......4.21.47...........8......3...........7. 2.0, Direct Hidden Pair: Cells R6C2,R6C6: 3,6 in row
....................3.45.........7.3......4.21.472..........8......3...........7. 2.0, Direct Hidden Pair: Cells R6C2,R6C6: 3,6 in row
....................3.45.........7.3......4.21.472..........8......3....2......7. 1.5, Hidden Single: R9C1: 2 in row
................2...3.45.........7.3......4.21.472..........8......3....2......7. 1.5, Hidden Single: R2C8: 2 in row
................2...3.45.........7.3......4.21.472..........8......3.2..2......7. 1.2, Hidden Single: R8C7: 2 in block
................2...3.45.........7.3......4.21.472..........8...5..3.2..2......7. 1.5, Hidden Single: R8C2: 5 in row
................2...3.45.........7.3......4.21.472..........8...5..3.2..2......7. 2.6, Pointing: Cells R4C8,R5C8: 1 in block and column
........1.......2...3.45.........7.3......4.21.472..........8...5..3.2..2......7. 1.5, Hidden Single: R1C9: 1 in row
........1.......2...3.45.........7.3......4.21.472..........8...5..3.2..2.....17. 1.2, Hidden Single: R9C7: 1 in block
........1.......2...3.45.........7.3......4.21.472..........83..5..3.2..2.....17. 1.2, Hidden Single: R7C8: 3 in block
........1.......2...3.45.........7.3......4.21.472..........83..5..3.2..23....17. 1.2, Hidden Single: R9C2: 3 in block
........1.......2...3.45.........7.33.....4.21.472..........83..5..3.2..23....17. 1.2, Hidden Single: R5C1: 3 in block
........1.......2...3.45.........7.33.....4.21.4723.........83..5..3.2..23....17. 1.2, Hidden Single: R6C6: 3 in block
........1.......2...3.45.........7.33.....4.21.4723.........83.45..3.2..23....17. 1.2, Hidden Single: R8C1: 4 in block
........1.......2...3.45.........7.33.....4.21.4723.........83.45..3.2..23....174 1.2, Hidden Single: R9C9: 4 in block
.......41.......2...3.45.........7.33.....4.21.4723.........83.45..3.2..23....174 1.2, Hidden Single: R1C8: 4 in block
.......41.4.....2...3.45.........7.33.....4.21.4723.........83.45..3.2..23....174 1.2, Hidden Single: R2C2: 4 in block
.......41.4.....2...3.45.........7.33.....4.21.4723........483.45..3.2..23....174 1.2, Hidden Single: R7C6: 4 in block
.......41.4.....2...3.45......4..7.33.....4.21.4723........483.45..3.2..23....174 1.2, Hidden Single: R4C4: 4 in block
.......41.4.....2...3.45......4..7.33.....4.21.4723......2.483.45..3.2..23....174 1.2, Hidden Single: R7C4: 2 in block
.....2.41.4.....2...3.45......4..7.33.....4.21.4723......2.483.45..3.2..23....174 1.2, Hidden Single: R1C6: 2 in block
.....2.41.4.....2..23.45......4..7.33.....4.21.4723......2.483.45..3.2..23....174 1.2, Hidden Single: R3C2: 2 in block
.....2.41.41....2..23.45......4..7.33.....4.21.4723......2.483.45..3.2..23....174 1.2, Hidden Single: R2C3: 1 in block
.....2.41.41....2..23145......4..7.33.....4.21.4723......2.483.45..3.2..23....174 1.2, Hidden Single: R3C4: 1 in block
.....2.41.41....2..23145.....24..7.33.....4.21.4723......2.483.45..3.2..23....174 1.2, Hidden Single: R4C3: 2 in block
.....2.41.41....2..23145.....24..7.33.....4.21.4723....1.2.483.45..3.2..23....174 1.2, Hidden Single: R7C2: 1 in block
.....2.41.41....2..23145.....24..7.33.....4.21.4723....1.2.483.45..312..23....174 1.2, Hidden Single: R8C6: 1 in block
.....2.41.41....2..23145.....24..7.33.....4.21.4723....1.27483.45..312..23....174 1.2, Hidden Single: R7C5: 7 in block
.....2.41.41..7.2..23145.....24..7.33.....4.21.4723....1.27483.45..312..23....174 1.2, Hidden Single: R2C6: 7 in block
.....2.41.41..7.2..23145..7..24..7.33.....4.21.4723....1.27483.45..312..23....174 1.2, Hidden Single: R3C9: 7 in block
.....2.41.41..7.2..23145..7..24..7.33.....4.21.4723....1.27483.457.312..23....174 1.2, Hidden Single: R8C3: 7 in block
.....2.41.41..7.2..23145..7..24..7.337....4.21.4723....1.27483.457.312..23....174 1.2, Hidden Single: R5C2: 7 in block
7....2.41.41..7.2..23145..7..24..7.337....4.21.4723....1.27483.457.312..23....174 1.2, Hidden Single: R1C1: 7 in block
7....2.41.41..7.2..23145..7..24..7.337....4.21.4723....1.27483.457.312..238...174 1.2, Hidden Single: R9C3: 8 in block
7....2.41.41..7.2..23145..7..24..7.337....4.21.4723....1.27483.4578312..238...174 1.2, Hidden Single: R8C4: 8 in block
7....2.41.41..7.2..23145..7..24..7.337....4.21.4723....1.2748354578312..238...174 1.2, Hidden Single: R7C9: 5 in block
7....2.41.41..7.2..23145..7..24..7.337....4.2164723....1.2748354578312..238...174 1.5, Hidden Single: R6C2: 6 in row
7....2.41.41..7.2..23145..7..24..7.337....4.2164723....1.2748354578312.6238...174 1.7, Direct Pointing: Cells R4C8,R5C8: 6 of block in column
7....2.41.41..7.2..23145..7..24..7.337....4.2164723....1.274835457831296238...174 1.0, Hidden Single: R8C8: 9 in block
7....2.41.41..7.2..23145..7..24..7.337....4.2164723....1.274835457831296238...174 2.6, Pointing: Cells R1C5,R2C5: 8 in block and column
7....2.41.41..7.2..23145..7..24..7.337...84.2164723....1.274835457831296238...174 1.7, Direct Pointing: Cells R4C1,R4C2: 8 of block in row
7....2.41.41..7.2..23145..7..24..7.337...84.2164723....1.274835457831296238...174 2.6, Pointing: Cells R1C7,R2C7: 5 in block and column
7....2.41.41..7.2..23145..7..24..7.337...84.2164723.5..1.274835457831296238...174 1.5, Hidden Single: R6C8: 5 in row
7....2.41.41..7.2..23145..7..24..7.337...84.2164723.58.1.274835457831296238...174 1.5, Hidden Single: R6C9: 8 in row
7....2.41.41..7.29.23145..7..24..7.337...84.2164723.58.1.274835457831296238...174 1.0, Hidden Single: R2C9: 9 in column
7....2.41.41..7.29.23145..7..24..7.337...84.2164723958.1.274835457831296238...174 1.0, Hidden Single: R6C7: 9 in row
7....2.41.41..7.29.23145.87..24..7.337...84.2164723958.1.274835457831296238...174 1.2, Hidden Single: R3C8: 8 in block
7....2.41.41..7.29923145.87..24..7.337...84.2164723958.1.274835457831296238...174 1.5, Hidden Single: R3C1: 9 in row
7....2.41.41..7.29923145687..24..7.337...84.2164723958.1.274835457831296238...174 1.0, Hidden Single: R3C7: 6 in row
7....2.41.41..7.29923145687..24..7.337...84.2164723958.19274835457831296238...174 1.2, Hidden Single: R7C3: 9 in block
7....2.41.41..7.29923145687..24..7.337...84.2164723958619274835457831296238...174 1.0, Hidden Single: R7C1: 6 in block
7.6..2.41.41..7.29923145687..24..7.337...84.2164723958619274835457831296238...174 1.2, Hidden Single: R1C3: 6 in block
7.6..2.41.41..7.29923145687..24..7.3375..84.2164723958619274835457831296238...174 1.0, Hidden Single: R5C3: 5 in column
7.6..2.41541..7.29923145687..24..7.3375..84.2164723958619274835457831296238...174 1.2, Hidden Single: R2C1: 5 in block
786..2.41541..7.29923145687..24..7.3375..84.2164723958619274835457831296238...174 1.0, Hidden Single: R1C2: 8 in block
786..2.41541..7.299231456878.24..7.3375..84.2164723958619274835457831296238...174 1.0, Hidden Single: R4C1: 8 in column
786..2.41541..7.299231456878924..7.3375..84.2164723958619274835457831296238...174 1.0, Hidden Single: R4C2: 9 in block
786..2.41541.87.299231456878924..7.3375..84.2164723958619274835457831296238...174 1.2, Hidden Single: R2C5: 8 in block
786..2.41541687.299231456878924..7.3375..84.2164723958619274835457831296238...174 1.2, Hidden Single: R2C4: 6 in block
786..2.415416873299231456878924..7.3375..84.2164723958619274835457831296238...174 1.0, Hidden Single: R2C7: 3 in row
786..25415416873299231456878924..7.3375..84.2164723958619274835457831296238...174 1.0, Hidden Single: R1C7: 5 in block
7863.25415416873299231456878924..7.3375..84.2164723958619274835457831296238...174 1.2, Hidden Single: R1C4: 3 in block
7863925415416873299231456878924..7.3375..84.2164723958619274835457831296238...174 1.0, Hidden Single: R1C5: 9 in block
78639254154168732992314568789245.7.3375..84.2164723958619274835457831296238...174 1.2, Hidden Single: R4C5: 5 in block
78639254154168732992314568789245.7.3375.184.2164723958619274835457831296238...174 1.2, Hidden Single: R5C5: 1 in block
78639254154168732992314568789245.7.3375.184.2164723958619274835457831296238.6.174 1.0, Hidden Single: R9C5: 6 in column
7863925415416873299231456878924567.3375.184.2164723958619274835457831296238.6.174 1.2, Hidden Single: R4C6: 6 in block
7863925415416873299231456878924567.33759184.2164723958619274835457831296238.6.174 1.0, Hidden Single: R5C4: 9 in block
7863925415416873299231456878924567.33759184.216472395861927483545783129623856.174 1.0, Hidden Single: R9C4: 5 in column
7863925415416873299231456878924567.33759184.2164723958619274835457831296238569174 1.0, Hidden Single: R9C6: 9 in block
7863925415416873299231456878924567133759184.2164723958619274835457831296238569174 1.0, Hidden Single: R4C8: 1 in row
786392541541687329923145687892456713375918462164723958619274835457831296238569174 1.0, Hidden Single: R5C8: 6 in block
ED=2.6/1.5/1.5
Ruud's sukaku, unrated, program crashes
Hidden Text: Show
- Code: Select all
12..5.7...234..7.912.4..7.9.2.4.6.8.12.4567.91..456.8.....5.7.9..3.5.7..1.345..8.1.3.567.912.456789...4567....3.5678..23.56....2..56789.2.456..9.234.......3.567.9.234...8.12..56...123.5678.12.4..78...345.7891..4..7.9...4567.91.34.....12...6789123.56789...4567.9..3.56...1.3....8..2.456...1234...8912.4567..1.3....8.12.4.67..1234.6.8.1.34.67.9..34.67.9.2.4.6.8.1...5678.1234.67891234.6789......78.123456....2..5.78.12...6.8...34.6789....56.8912345678....45..8.1234567.......67.912.45.789.234567...2.4.678.12.45..8.1.......91.34567891234.6.89.23.5..8..2345..8912...67.9..3...78.1....6.891..456.891234567891234.678..2..5.78.12...6...123456.89..3.5..891.3.56.8.1.34..7.91.34...891.3...789..3456.8...3.56.891234..78......67...23.5678.
................................................................................. 2.6, Pointing: Cells R1C9,R3C9: 8 in block and column
................................................................................. 2.6, Pointing: Cells R7C1,R7C2,R7C3: 2 in block and row
................................................................................. 2.6, Pointing: Cells R8C4,R8C5,R8C6: 2 in block and row
................2................................................................ 1.5, Hidden Single: R2C8: 2 in column
................2................................................................ 2.8, Claiming: Cells R1C4,R1C5,R1C6: 6 in row and block
................2................................................................ 2.8, Claiming: Cells R2C1,R2C2: 1 in row and block
................2................................................................ 2.8, Claiming: Cells R7C3,R8C3,R9C3: 1 in column and block
Exception in thread "main" java.lang.IllegalArgumentException: countBits > 64
at diuf.sudoku.tools.Permutations.<init>(Unknown Source)
at diuf.sudoku.solver.rules.AlignedExclusion.getHints(Unknown Source)
at diuf.sudoku.solver.Solver.getHintsHint(Unknown Source)
at diuf.sudoku.test.hints.main(Unknown Source)
SukakuHints.jar will rate sukaku puzzles, so long as the solution path does not use Exclusion and Chain techniques until there are 64 or less empty cells!!
SE techniques, allowed when more than 64 empty cells:
Hidden Text: Show
Direct Methods
- HiddenSingle
- DirectPointing
- DirectHiddenPair
- NakedSingle
- DirectHiddenTriplet
Indirect Methods
- PointingClaiming
- NakedPair
- XWing
- HiddenPair
- NakedTriplet
- Swordfish
- HiddenTriplet
- XYWing
- XYZWing
- UniqueLoop
- NakedQuad
- Jellyfish
- HiddenQuad
- BivalueUniversalGrave
- HiddenSingle
- DirectPointing
- DirectHiddenPair
- NakedSingle
- DirectHiddenTriplet
Indirect Methods
- PointingClaiming
- NakedPair
- XWing
- HiddenPair
- NakedTriplet
- Swordfish
- HiddenTriplet
- XYWing
- XYZWing
- UniqueLoop
- NakedQuad
- Jellyfish
- HiddenQuad
- BivalueUniversalGrave
Additional SE techniques, allowed when 64 or less empty cells:
Hidden Text: Show
- AlignedPairExclusion
- ForcingChainCycle
- AlignedTripletExclusion
- NishioForcingChain
- MultipleForcingChain
- DynamicForcingChain
- DynamicForcingChainPlus
- NestedForcingChain
- ForcingChainCycle
- AlignedTripletExclusion
- NishioForcingChain
- MultipleForcingChain
- DynamicForcingChain
- DynamicForcingChainPlus
- NestedForcingChain
Tarek, if interested in SukakuHints.jar, post here. Do you want the java source?