Skip to content

damelang/sdk2cnf

Repository files navigation

sdk2cnf: Reduces sudoku puzzles to CNF formulae.

Build Instructions
---

Must have GHC installed: http://www.haskell.org/ghc/download.html
Run "make".

Running
---

sdk2cnf < YOUR_PUZZLE.sdk | YOUR_SAT_SOLVER | sol2sdk

Testing
---

Use the "run" script. Example:

run 9x9-hard
(requires the presence of the files 9x9-hard.sdk and 9x9-hard-SOLVED.sdk)

No output means the test passed. Otherwise, a "diff" is displayed.

About

Reduces sudoku puzzles to CNF formulae

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published