Applied dynamic programming - Bellman, Richard 1920-1984; Dreyfus, Stuart E. (Princeton University Press, 1962)