"If in the past the occurrence of a particular stimulus, or set of stimuli, has been the occasion on which a person's action has been rewarded, then the more similar the present stimuli are to the past ones, the more likely the person is to perform the action, or some similar action."