This thread could help shed some light:
http://www.whatifsports.com/forums/Posts.aspx?topicID=452075&page=1
There is a post by Bribar toward the bottom of page 3 that really breaks it down:
http://www.whatifsports.com/forums/Posts.aspx?topicID=408808&page=3
I've used this info for every team since I read it and it seems to be 100% correct.
FYI...other topics that can help that are in the Knowledge Base:
http://www.whatifsports.com/knowledgebase/KnowledgeBase.aspx?pid=0&tid=-1
Article 15: How Sparky chooses when you have multiple available pitchers with the same role designation.
Article 30: How the mop-up is used.
Article 36: What the different roles mean and some general guidelines on how Sparky uses them
Article 39: How autorest works (key point: a pitcher fatigued below his autorest setting is treated exactly as though you set him to "rest")
Article 41: TPC vs MPC
Article 46: When Sparky will use a pitcher who had been set to "rest"
Article 47: Why a pitcher may be in the game (this article heavily influenced my outline of "algorithm 1")
Article 770: How LH/RH specialists are used
Article 591: How the SIM determines its pitching role recommendations (one read of this will make you realize you should never just take these as given)