Min/Max, number of times Simulator is run, and Averages
Quote:
Originally Posted by
Keranik
Any chance we could get the simulator to run "x" many times like the German one, and show our min/max?
I am in love with your Simulator, but find myself using the German one more, due to these two features.
I like seeing how many times the sim was ran, and what I can expect to min or max on it.
I'm planning on this, but it will come after the adventures are done. The Run x times is a bit tricky because the code I'm using is not yet optimized and is a but CPU intensive (especially with multiple waves). I plan on getting around this by saving the results to a database, and then averaging the results against previous runs for the "This has been run x times" type of simulation.
As for the Min/Max, I have Selak's Min/Max code, along with the patch he sent me to fix a bug in it. I will be implementing it as well although I may optimize it a bit so that it doesn't require as much CPU.
Once I get the database portion working, it will be possible to actually just retrieve the results without running having to calculate if the sim has already been calculated. In this case, it would be possible to display the normal calculations AND Min/Max if they were available. (If I do implement this "retrieval without calculating" technique, the system will STILL calculate occasionally, just to make sure that the calculations in the database are as accurate as possible.)
I know this is a lot more technical than you were probably wanting, but the good news is "It's coming" the bad news is that the adventures are coming 1st. However, I am trying to add 1-2 new adventures every couple of days, so I don't have very many left.
-Drax