Signatures Meet Dynamic Programming:

Generalizing Bellman Equations for Trajectory Following