Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A farmer needs to move a hen, a fox, and a bushel of grain from the left side of the river to the right

A farmer needs to move a hen, a fox, and a bushel of grain from the left side of the river to the right using a raft. The farmer can take one item at a time (hen, fox, or bushel of grain) using the raft. The hen cannot be left alone with the grain, or it will eat the grain. The fox cannot be left alone with the hex, or it will eat the hen. For example, the farmer cannot move from one side x of the river to the other side y if it would mean leaving the fox and hen together on side x. The farmer can load an item onto the raft, move the raft from one side of the river to the other, or unload an item from the raft. The farmer wants to move the items with the fewest number of trips across the river as possible, but does not care about how much time is spent loading or unloading. (d) [10 points] Construct a non-constant admissible heuristic for this problem. (e) [5 points] Argue that the heuristic from part (2d) is admissible.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Entrepreneurship

Authors: Andrew Zacharakis, William D Bygrave

5th Edition

1119563097, 9781119563099

More Books

Students also viewed these Programming questions

Question

Describe what a buyer does. Name at least five activities.

Answered: 1 week ago

Question

=+b) Find a 95% confidence interval for the slope and interpret it.

Answered: 1 week ago