Reinforcement Learning: An Introduction

Richard S. Sutton, Andrew G. Barto