Question: Design a suitable representation and draw the complete search tree for the following problem: A farmer is on one side of a river and wishes

Design a suitable representation and draw the complete search tree for the following problem: A farmer is on one side of a river and wishes to cross the river with a wolf, a chicken, and a bag of grain. He can take only one item at a time in his boat with him. He can’t leave the chicken alone with the grain, or it will eat the grain, and he can’t leave the wolf alone with the chicken, or the wolf will eat the chicken. How does he get all three safely across to the other side?

Step by Step Solution

3.38 Rating (164 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The farmer will take the chicken with him and cross the river He will lea... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Introduction To Artificial Intelligence Questions!