Understanding Markov decision processes