Reinforcement Learning: An Introduction

Richard S. Sutton and Andrew G. Barto