From 2cde951d13d24969d7dcf25ef34ada6e1bc56ba2 Mon Sep 17 00:00:00 2001 From: SP Mohanty <spmohanty91@gmail.com> Date: Wed, 3 Apr 2019 09:28:56 +0200 Subject: [PATCH] Fix linting errors --- flatland/core/transitions.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flatland/core/transitions.py b/flatland/core/transitions.py index 2b161965..490cfffc 100644 --- a/flatland/core/transitions.py +++ b/flatland/core/transitions.py @@ -234,7 +234,7 @@ class RailEnvTransitions(GridTransitions): Special case of `GridTransitions' over a 2D-grid, with a pre-defined set of transitions mimicking the types of real Swiss rail connections. - ----------------------------------------------------------------------------------------------- + -------------------------------------------------------------------------- The possible transitions for RailEnv from a cell to its neighboring ones are represented over 16 bits. @@ -243,7 +243,8 @@ class RailEnvTransitions(GridTransitions): inside the cell is facing (0=North, 1=East, 2=South, 3=West) and which direction the agent wants to move to (North, East, South, West, relative to the cell). - Each transition (orientation, direction) can be allowed (1) or forbidden (0). + Each transition (orientation, direction) + can be allowed (1) or forbidden (0). The 16 bits are organized in 4 blocks of 4 bits each, the direction that the agent is facing. -- GitLab