Question: 3. Calculation questions (Calculation questions ( 20 marks per question) 3.1 Three missionaries and three savages came to the river to cross it. There was

 3. Calculation questions (Calculation questions ( 20 marks per question) 3.1

3. Calculation questions (Calculation questions ( 20 marks per question) 3.1 Three missionaries and three savages came to the river to cross it. There was a boat on the bank, which could carry no more than two people at a time. The question is how should the missionaries row the ferry, for the sake of safety, so that the number of savages on both sides of the river and on the boat at any one time should not exceed the number of the missionaries (otherwise it is not safe and the missionaries may be eaten by savages). (a) Define the states and actions (4 marks). (b) List all the possible states ( 2 points). (c) Analyze and determine the minimum number of states ( 10 points). (d) Define the heuristic function applicable to the problem ( 4 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!