Skip to content
Snippets Groups Projects
Commit 2cde951d authored by spmohanty's avatar spmohanty
Browse files

Fix linting errors

parent 0933d128
No related branches found
No related tags found
No related merge requests found
...@@ -234,7 +234,7 @@ class RailEnvTransitions(GridTransitions): ...@@ -234,7 +234,7 @@ class RailEnvTransitions(GridTransitions):
Special case of `GridTransitions' over a 2D-grid, with a pre-defined set Special case of `GridTransitions' over a 2D-grid, with a pre-defined set
of transitions mimicking the types of real Swiss rail connections. of transitions mimicking the types of real Swiss rail connections.
----------------------------------------------------------------------------------------------- --------------------------------------------------------------------------
The possible transitions for RailEnv from a cell to its neighboring ones The possible transitions for RailEnv from a cell to its neighboring ones
are represented over 16 bits. are represented over 16 bits.
...@@ -243,7 +243,8 @@ class RailEnvTransitions(GridTransitions): ...@@ -243,7 +243,8 @@ class RailEnvTransitions(GridTransitions):
inside the cell is facing (0=North, 1=East, 2=South, 3=West) and which inside the cell is facing (0=North, 1=East, 2=South, 3=West) and which
direction the agent wants to move to direction the agent wants to move to
(North, East, South, West, relative to the cell). (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 16 bits are organized in 4 blocks of 4 bits each, the direction that
the agent is facing. the agent is facing.
......
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