Skip to content

Environment seed behavior #34

@roym899

Description

@roym899

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions