prolog - cannibals and missionaries -


i newbie prolog , started learning prolog. found missionaries , cannibals puzzle interesting solve in prolog. have researched lot of forums , found link think solution. how not getting actual result. moves on output seem wrong. tried trace program, seems perfect during assignment of values somehow solution wrong.

i need experts know logical error.

source: http://www.enrico-franchi.org/2008/12/missionaries-cannibals-and-prolog.html

as discussed in comments of post, there no logical error, ill chosen output format.


Comments

Popular posts from this blog

mysql - How to insert just year and month into date field? -

mod rewrite - Doing external redirect. .htaccess NS flag not working. How to achieve similar results? -