Reinforcement learning an introduction - Sutton Richard S.; Barto Andrew G. (Adaptive Computation and Machine Learning, 1998)