Page 2 of 2

Re: Multiple seeds

Posted: Thu Apr 29, 2021 2:48 pm
by pincy
The CSimulator::Reset() function that accepted the random seed should work correctly. I would not use it with the code you propose though, because rand() is not a good random number generator anyway, and there's no reason to randomize the seeds if what you want is repeatability. You can simply use random seeds in a sequence (e.g., from 1 to 10), and the results will be the same.

Re: Multiple seeds

Posted: Fri Apr 30, 2021 1:25 pm
by AshwinRaviraj
Alright, I will give it a try.

Re: Multiple seeds

Posted: Sun Jul 25, 2021 5:39 pm
by AngelaRampling
And how it works??