|
BGonline.org Forums
How the new Random Seed works
Posted By: eXtreme Gammon In Response To: XG 4-ply RO 21S-63 just finished (Nack Ballard)
Date: Monday, 3 May 2010, at 1:09 a.m.
Nack: I see that his latest version (1.14) is displaying the seed number in the output even when it is randomly generated
The change in the random seed process was triggered by 2 postings here. the First one, by Nack, asking to get the random seed displayed when using random seed and the other (I think by Chase, but I am not sure) asking about if a rollout was performed and, later on, a move is added would it use the same seed (the answer is no before 1.14).
Adding the Random seed as I did in version 1.12 was probably not a good idea in retrospect (I blame Nack for put the seed of the idea in my head [punt intended]).
Version 1.12 and 1.13 were generating a random seed each time you were starting a rollout and that seed was not displayed.
Now what version 1.14 does is the following: the random seed 0 does not exist anymore: when you set the seed in the options to 0 it generates a random seed (between 1 and 1e9) and set it as the default one. So if you reopen the option you will see that random number there and it will stay there until you change it. So pretty much it's the same than before 1.12 where you could (and still can) enter a random number by yourself.
About reproducibility: yes, using version 1.14, it will be reproducible, there was a bug I fixed with a variable set as shared between threads. The problem always existed but was only noticeable on version 1.13 (the rollout made with this version are correct but not reproducible regardless of random seed or not).
I apologize for that bug... and for the next one: version 1.14.136 will not allow you to manually change the seed to what you want. Yesterday, I put a silent update (it does not notify you there is a new version) that fixes that. If you want to get it go to "help/check for update" and you will see it (1.14.137).
Again, thanks to all on this forum for all your feedback and ideas
Xavier Dufaure de Citres
|
BGonline.org Forums is maintained by Stick with WebBBS 5.12.