- Posts: 159
- Joined: Fri Aug 24, 2012 6:46 pm
I suspect Hal has a linear approach to assigning lineups when left totally blank. As a programmer one has to make a decision on how complicated the logic should be. Simplest would be take one position at a time and select the best player for that position. So maybe I fill out the infield first. I could write complicated routines for each position and take a million factors in to consideration resulting in a huge decision tree. Or I could simply take the most expensive player rated for that position. I would think Strat has something in between. The more complicated you make that decision tree the more lines of code are required and the more computer cycles are required for executing.
There are many factors of course that could be used in slotting who plays where. There should probably be limits to how much Hal should be expected to take in to consideration.