To reverse a Markov process