bench-mr icon indicating copy to clipboard operation
bench-mr copied to clipboard

Environment seed behavior

Open roym899 opened this issue 4 years ago • 0 comments

I think the environment seed behavior is a bit unusual right now.

Looks as if you generate 50 environments with seed = 0 and then 50 environments with seed = 1, 49 of the environments will be the same (since the seed is incremented by one for each environment and then passed to srand for each generated environment).

Maybe we could change the code to use a C++11 generator used only for environment generation that is seeded once with the provided seed.

roym899 avatar Feb 01 '21 08:02 roym899