Optimal foraging theory predicts that foragers with an imperfect knowledge of the environment will invest time sampling the foraging area.