Dynamic programming and its aplications. - Puterman, Martin L. (Academic Press, 1978)