GeneratorSeed Property |
Namespace: Accord.Math.Random
Adjusting the global generator seed causes the calling thread to sleep for 100ms so new threads spawned in a short time span after the call can be properly initialized with the new random seeds. In order to better control the random behavior of different algorithms, please consider specifying random generators directly using appropriate interfaces for these algorithms in case they are available.
If you do not need to change the seed number for threads other than the current, you can adjust the random seed for the current thread using ThreadSeed instead. Setting ThreadSeed should not introduce delays.