Re: A Sudoku solver in Tcl: version 0.2
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: A Sudoku solver in Tcl: version 0.2

From: Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at>
Date: Fri Jan 06 2006 - 14:22:12 CET

Bernard Desgraupes <bdesgraupes@easyconnect.fr> wrote:
> Hi Andreas,
> sorry for the delayed answer, I was out of town last week.
ahem ... ditto (well, just mostly out of "net" in my case) :-)

>> Allow -p's option to be a (e.g. comma-separated) list
>> of techniques which will be used (but not the others)
> Yes I had already something like this in mind: the techniques would be
> applied in the order specified in the list of course.
Yes, and a special pseudo-technique "+" for "repeat"

>> Perhaps also an "inverse"-syntax: "all but ..."
> I'll soon be short of letters and will have to use long name options
> I'm afraid !
I wasn't thinking of yet another option, but rather a special
technique-name, such as "^"
so, "^,ns,hs,+" would then repeatedly try all techniques
except the naked and hidden single... (just for example;
I don't see any particular reason to exclude these two)
The ^ would only be recognized as first technique, and
anything following the "+" could be an error (but need not)

PS:
Just yesterday I noticed the first wrong outset in some
sudoku-booklet, myself - it had two solutions.
Received on Tue Jan 17 14:55:55 2006