Preparation for Lab 5

 

Review C++ and Java implementations of the Markov chain algorithm presented in the textbook. Think about alternative algorithmic solutions, changes in data structures, other possible modifications that fit your taste and how to implement them. The exercises in the textbook contain several suggestions how one may modify data structures.