8 Dec
2004
8 Dec
'04
2:02 p.m.
Vladimir Prus wrote:
Sure, because the random number generator is initialized with the same seed on each invocation. You can seed it with current time or something like that.
Thanks for this. Is there anything on the docs/examples on how to initialize the random number generator? I mean, boost/random/mersenne_twister.hpp seems to be an adaptation of the original Mersenne Twister by Matsumoto and Nishimura -is it the same as the original? Thanks, Rui