Re: sudoku



Torsten wrote:
I am interested in the SWI-Prolog sudoku source. Please tell me where I
can find it.

Thanks,
Torsten


http://student.science.uva.nl/~nout/sud.pl contains a Prolog program for GNU-Prolog: the only thing you need to adapt to make it work under SWI, is the goals to statistics (and the related code computing the runtime); very minor change. A pity there are no example input files for this program on the same website - so here is one:

530070000
600195000
098000060
800060003
400803001
700020006
060000280
000419005
000080079

[taken from the example on Wikipedia]

Cheers

Bart Demoen
.