the answer is optimal foraging.
Optimal foraging refers to the process that animal use when they're acquiring foods.
During this process, they calculated the amount of caloric intake that they get from the hunt so it always surpassed the number of calories that they spent when moving for the hunt.