-
- Downloads
Add random instance to make randomness controllable
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.
parent
9fc975d5
No related branches found
No related tags found
Showing
- overcooked_simulator/counter_factory.py 6 additions, 0 deletionsovercooked_simulator/counter_factory.py
- overcooked_simulator/counters.py 7 additions, 4 deletionsovercooked_simulator/counters.py
- overcooked_simulator/order.py 23 additions, 11 deletionsovercooked_simulator/order.py
- overcooked_simulator/overcooked_environment.py 10 additions, 3 deletionsovercooked_simulator/overcooked_environment.py
Please register or sign in to comment