Skip to content
Snippets Groups Projects
Commit 94c907f9 authored by Erik Nygren's avatar Erik Nygren :bullettrain_front:
Browse files

separated tests

parent 87ffdd6d
No related branches found
No related tags found
No related merge requests found
......@@ -312,6 +312,7 @@ class RailEnv(Environment):
self.agents = EnvAgent.from_schedule(schedule)
# Get max number of allowed time steps from schedule generator
# Look at the specific schedule generator used to see where this number comes from
self._max_episode_steps = schedule.max_episode_steps
self.agent_positions = np.zeros((self.height, self.width), dtype=int) - 1
......
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