Skip to content
Snippets Groups Projects
Commit 429dd087 authored by Erik Nygren's avatar Erik Nygren :bullettrain_front:
Browse files

Update multi_agent_inference.py

parent f36804f2
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ n_agents = 10 ...@@ -37,7 +37,7 @@ n_agents = 10
observation_builder = TreeObsForRailEnv(max_depth=2) observation_builder = TreeObsForRailEnv(max_depth=2)
# Use a the malfunction generator to break agents from time to time # Use a the malfunction generator to break agents from time to time
stochastic_data = MalfunctionParameters(malfunction_rate=10000, # Rate of malfunction occurence stochastic_data = MalfunctionParameters(malfunction_rate=1./10000, # Rate of malfunction occurence
min_duration=15, # Minimal duration of malfunction min_duration=15, # Minimal duration of malfunction
max_duration=50 # Max duration of malfunction max_duration=50 # Max duration of malfunction
) )
......
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