From 5003eecbcc1a0fd69e233ab8b31b38ba2e7de931 Mon Sep 17 00:00:00 2001 From: Erik Nygren <erik.nygren@sbb.ch> Date: Sun, 1 Sep 2019 08:16:12 -0400 Subject: [PATCH] updated tree observation now detecting malfunctioning agents now detecting slowest fractional speed fixed formatting --- flatland/envs/observations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flatland/envs/observations.py b/flatland/envs/observations.py index 506afd68..dc0edc9b 100644 --- a/flatland/envs/observations.py +++ b/flatland/envs/observations.py @@ -261,7 +261,7 @@ class TreeObsForRailEnv(ObservationBuilder): Missing values in present node are filled in with +inf (truncated). - In case of the root node, the values are [0, 0, 0, 0, distance from agent to target]. + In case of the root node, the values are [0, 0, 0, 0, distance from agent to target, own malfunction, own speed] In case the target node is reached, the values are [0, 0, 0, 0, 0]. """ -- GitLab