Skip to content
Snippets Groups Projects
Commit d5ffef87 authored by Egli Adrian (IT-SCI-API-PFI)'s avatar Egli Adrian (IT-SCI-API-PFI)
Browse files

Merge branch 'master' of ssh://gitlab.aicrowd.com/flatland/flatland into...

Merge branch 'master' of ssh://gitlab.aicrowd.com/flatland/flatland into 169-Enhance_sparse_rail_generator
parents 0cdf79ef a3e73fdf
No related branches found
No related tags found
No related merge requests found
...@@ -103,7 +103,7 @@ def sparse_schedule_generator(speed_ratio_map: Mapping[float, float] = None) -> ...@@ -103,7 +103,7 @@ def sparse_schedule_generator(speed_ratio_map: Mapping[float, float] = None) ->
transitions = rail.get_transitions(start[0], start[1], orientation) transitions = rail.get_transitions(start[0], start[1], orientation)
if any(transitions) > 0: if any(transitions) > 0:
agents_direction.append(orientation) agents_direction.append(orientation)
continue break
if speed_ratio_map: if speed_ratio_map:
speeds = speed_initialization_helper(num_agents, speed_ratio_map) speeds = speed_initialization_helper(num_agents, speed_ratio_map)
......
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