where association a ir is the reward that forager i associates with resource type r, e ir is the energy obtained from resource type r, and λ i is the learning rate. This corresponds to a Rescorla-Wagner model  where all stimuli have the same salience. Associations are initially non-existent (i.e. zero), and the reward is obtained immediately after consumption of the resource leading to direct reinforcement.