Q-learning update
Nudges the value of the action you took toward the reward plus the best value available next. The max is over actions you did not necessarily take, which is what makes it off-policy and lets it learn the optimal policy while exploring.
- The learning rate.
- The best value available in the next state.
- The reward just received.