+-------+-------+-------+
! . . . ! . . . ! 1 . . !
! . . 1 ! 2 . . ! . . 3 !
! . 4 . ! . 5 . ! . 2 . !
+-------+-------+-------+
! . 5 . ! . 6 . ! . 4 . !
! . . 7 ! 3 . . ! . . 6 !
! . . . ! . . 7 ! 3 . . !
+-------+-------+-------+
! 2 . . ! . . . ! . . . !
! . . 8 ! 7 . . ! . . 1 !
! . 6 . ! . 4 . ! . 5 . !
+-------+-------+-------+
......1....12....3.4..5..2..5..6..4...73....6.....73..2..........87....1.6..4..5.
(solve-w-preferences
"......1....12....3.4..5..2..5..6..4...73....6.....73..2..........87....1.6..4..5."
S4Fin BIVALUE-CHAINS REVERSIBLE-CHAINS REVERSIBLE-PATTERNS
)
a user of CSP-Rules wrote:On GitHub, you write that CSP-Rules is a general solver of finite Constraint Satisfaction Problems.
SudoRules being the application of CSP-Rules to Sudoku, does that imply that SudoRules is a general solver of Sudokus?
same user of CSP-Rules wrote:denis_berthier wrote:.b]2)[/b] Now, about SudoRules being general: choose your meaning of "general" to get your answer.
It is a general Sudoku solver in the above sense.
It is also general in the sense that it can solve any puzzle solvable by a human (and very much harder ones).
It is not "general" in the sense of including all the popular patterns. Although it has rules for patterns specific to Sudoku, both general ones (Subsets, Finned-Fish) and "exotic" ones (sk-loops, J-Exocets, UR, BUGS...), only the basic versions of these rules are included (and not their myriad possible variants).
You coded many specific rules for Slitherlink. But Sudoku is much more popular than Slitherlink. Why don't you do the same for Sudoku?
Users browsing this forum: No registered users and 1 guest