The adaptiveness of self-control: simulation of foraging mice.