Re: The Bridge crossing prolog program



Hi!

vag wrote:


Thanks man but when i compile it and make the question
cross(42, Plan). it dosnt work. It answers only NO.
I use SWI-Prolog (Multi-threaded, Version 5.4.7)
Any suggestions?

I tested it with 5.5.40. You can do

?- guitracer.

?- trace.

?- cross(42, Plan).

to graphically step through the computation and see where it fails.

All the best,
Markus.
.