Commit 38f73b69 authored by Erik Nygren's avatar Erik Nygren 🚅
Browse files

updated the way connected directions are chosen.

parent df2c483d
Pipeline #2198 failed with stages
in 60 minutes
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment