[boost] Random library: fn seed returning current seed value- why not
by Csaba Szepesvari other posts by this author
May 19 2003 3:21PM messages near this date
[boost] detail/limits.hpp suggestion
|
[boost] Re: Random library: fn seed returning current seed value-
whynot
Hello,
It would be nice to retrieve the current seed: I want to dump it so that
later I can reproduce the experiments I am running (that use the random
library).
Is there a bona fide reason not to return the seed (e.g. in the seed
function).
The issue comes in when using seed without params (for "random"
initialization).
Of course, I could move the code inside seed to my code and set the seed
explicitly.
I just thought that the interface would be nicer that way (and I won't need
to copy code).
- Csaba
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Csaba Szepesvari
Csaba Szepesvari
Matthias Troyer
|