Paradigms of Artificial Intelligence Programming has an excellent chapter 11 "Logic Programming" which uses a nearly identical problem (the "zebra puzzle") as example input for a prolog interpreter developed in the chapter.
Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com
In reply to Re: Solve Einstein's problem with perl?!
by clemburg
in thread Solve Einstein's problem with perl?!
by weini
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |