Dynamics programming and the calculus of variations - Dreyfus S E (1965)