Skip to content
Snippets Groups Projects
Commit 182a4708 authored by Florian Schröder's avatar Florian Schröder
Browse files

Update random parameter in OrderManager initialization

The random parameter in OrderManager's initialization process under cooperative_cuisine/environment.py has been updated. Instead of using an existing random instance, a new one is now created using a specified seed. This allows for more controlled randomness within the system operation.
parent 00910c45
No related branches found
No related tags found
No related merge requests found
Pipeline #50515 passed
......@@ -216,7 +216,7 @@ class Environment:
self.order_manager: OrderManager = OrderManager(
order_config=self.environment_config["orders"],
hook=self.hook,
random=self.random,
random=Random(seed),
)
"""The manager for the orders and score update."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment