Markov chain
stochastic model describing a sequence of possible events in which the probability of each event depends only on the state attained in the previous event
en-US/ˌmɑɹˌkɔf ˈt͡ʃeɪn/
stochastic model describing a sequence of possible events in which the probability of each event depends only on the state attained in the previous event