This is the stupidest nitpick, but it's not really Pavlovian conditioning (as mentioned in the last paragraph) but rather operant conditioning. Pavlovian, or classical conditioning is the triggering of a biological response after a neutral stimulus (ring a bell before feeding each time and the dog will salivate when it hears the bell even if there's no food anywhere nearby).
Operant conditioning is where the agent learns that an action produces an outcome and learns to perform (or not perform) certain actions to get the desired outcome.