Danger
This article was written with the assistance of Codex, my friend (Codex) will review the grammar and structure of this post. The content will be mine 100%.
The term dynamic programming (DP) refers to a collection of algorithms that can be used to compute optimal policies given a perfect model of the environment (we know exactly how to compute the dynamics )
Important
The key idea of DP, and of reinforcement learning generally, is the use of value functions to organize and structure the search for good policies. We evaluate how good a policy is based on its value function .