From 38f73b69f94c5530840768db1d3d3775374ff9a7 Mon Sep 17 00:00:00 2001 From: MLErik <baerenjesus@gmail.com> Date: Thu, 26 Sep 2019 22:40:03 -0400 Subject: [PATCH] updated the way connected directions are chosen. --- examples/flatland_2_0_example.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/flatland_2_0_example.py b/examples/flatland_2_0_example.py index ab730a0a..91808839 100644 --- a/examples/flatland_2_0_example.py +++ b/examples/flatland_2_0_example.py @@ -32,10 +32,10 @@ speed_ration_map = {1.: 0.25, # Fast passenger train env = RailEnv(width=50, height=50, - rail_generator=sparse_rail_generator(num_cities=9, # Number of cities in map (where train stations are) + rail_generator=sparse_rail_generator(num_cities=11, # Number of cities in map (where train stations are) num_trainstations=50, # Number of possible start/targets on map - min_node_dist=15, # Minimal distance of nodes - node_radius=4, # Proximity of stations to city center + min_node_dist=8, # Minimal distance of nodes + node_radius=3, # Proximity of stations to city center seed=15, # Random seed grid_mode=False, max_connection_points_per_side=2, -- GitLab