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

Update render_agent_behavior.py

parent d1705520
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ min_dist = 5
observation_builder = TreeObsForRailEnv(max_depth=2)
# 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
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