Complex sentence: It suggested that animals constantly consider the available food and the cost of obtaining it, deciding to stay for a while or move on to the next food patch.
Split into simpler sentences: It suggested that animals constantly consider the available food and the cost of obtaining it. This determined whether the animal would decide to stay for a while or move on to the next food patch.