From 14405ccba281bbf72de1060328583d501cd2b24e Mon Sep 17 00:00:00 2001 From: flaurent <florian.laurent@gmail.com> Date: Thu, 11 Jun 2020 18:03:14 +0200 Subject: [PATCH] Fixed malfunction_from_params parameter documentation --- flatland/envs/malfunction_generators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flatland/envs/malfunction_generators.py b/flatland/envs/malfunction_generators.py index 99082ddd..2f27eca3 100644 --- a/flatland/envs/malfunction_generators.py +++ b/flatland/envs/malfunction_generators.py @@ -103,7 +103,7 @@ def malfunction_from_params(parameters: MalfunctionParameters) -> Tuple[Malfunct ---------- parameters : contains all the parameters of the malfunction - malfunction_rate : float how many time steps it takes for a sinlge agent befor it breaks + malfunction_rate : float rate per timestep at which each agent malfunctions min_duration : int minimal duration of a failure max_number_of_steps_broken : int maximal duration of a failure -- GitLab