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

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -