Dynamic programming and the calculus of variations. - Dreyfus, Stuart E. (Mathematics in science and engineering, 1965)