![]() ![]() (number of missionaries + number of cannibals) on left bank of the riverġ.Two missionaries move to other side of the riverĢ.Two cannibals move to other side of the riverģ.One missionary and one cannibal move to other side of the riverĤ.One missionary move to other side of the riverĥ.One cannibal move to other side of the river If the cannibals ever outnumber the missionaries on either of the river’s banks, the missionaries will get eaten.Missionaries and cannibals are to be carried safely across the river without getting anyone eaten. There is one boat available that can hold up to two people and that they would like to use to cross the river. On one bank of a river are three missionaries and three cannibals. ![]() Artificial Intelligence problem "Missionaries and Cannibals" using Greedy Best First Search using Java
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |