Skip to content
Snippets Groups Projects
  • Florian Schröder's avatar
    9fae6bad
    Add random instance to make randomness controllable · 9fae6bad
    Florian Schröder authored
    The random module is replaced with random instance across multiple classes within 'overcooked_simulator' to make the randomness in the Overcooked simulator controllable. The 'random' instance is initialised with a seed in 'overcooked_environment' and then passed to the classes that require randomness. This improves reproducibility of experiments, as the randomness can be controlled by the seed value.
    9fae6bad
    History
    Add random instance to make randomness controllable
    Florian Schröder authored
    The random module is replaced with random instance across multiple classes within 'overcooked_simulator' to make the randomness in the Overcooked simulator controllable. The 'random' instance is initialised with a seed in 'overcooked_environment' and then passed to the classes that require randomness. This improves reproducibility of experiments, as the randomness can be controlled by the seed value.