Monday, March 01, 2010
Markov Lineup simulator
Berselius. For those not aware, I also have a Markov calculator, but it doesn’t do lineups. It uses recursion, the code is there for anyone to use. Adding in lineups simply means adding one more dimension to the array. I’ve done it (for The Book). The code is very small when you use recursion.
I encourage all you programmers to look at my code and expand it for lineups.


Thanks for the link!
I would be the first to admit that my code (linked from the bottom) is pretty clunky and could use some streamlining. What I do plan to do is link it to something like a CHONE projections file/database to make doing the inputs easier. I’m going to use your numbers from http://www.tangotiger.net/destmob.html to add in the baserunning stuff, since it’s simply station-to-station right now.