From 3944691231e773a5625958bf105f20f6cc98d92f Mon Sep 17 00:00:00 2001 From: MLErik <baerenjesus@gmail.com> Date: Tue, 29 Oct 2019 19:52:42 -0400 Subject: [PATCH] Adresses issue #263 Updated example --- examples/introduction_flatland_2_1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/introduction_flatland_2_1.py b/examples/introduction_flatland_2_1.py index 980c9a7d..cd5c2ab4 100644 --- a/examples/introduction_flatland_2_1.py +++ b/examples/introduction_flatland_2_1.py @@ -58,7 +58,7 @@ schedule_generator = sparse_schedule_generator(speed_ration_map) # We can furthermore pass stochastic data to the RailEnv constructor which will allow for stochastic malfunctions # during an episode. -stochastic_data = {'malfunction_rate': 5, # Rate of malfunction occurence +stochastic_data = {'malfunction_rate': 20, # Rate of malfunction occurence 'min_duration': 3, # Minimal duration of malfunction 'max_duration': 20 # Max duration of malfunction } -- GitLab