Adaptive Markov chain networks