The same state for all generators seems to be a good solution in most cases, but you can have a per-generator states if you want.
One possible way to do it is to derive your own class from some of the generator classes provided by the library and store per-generator state in your own derived class.
Andy.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i want to set seed for each Random_generator instance,the only way is RNG_reset but it seems set the global seed,then how to?
Hi,
The same state for all generators seems to be a good solution in most cases, but you can have a per-generator states if you want.
One possible way to do it is to derive your own class from some of the generator classes provided by the library and store per-generator state in your own derived class.
Andy.
ok,that works
thanks
but i think it's better to add this feature in next version,cause sometime we do want to "control" the random generation