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

updated the way connected directions are chosen.

parent df2c483d
No related branches found
No related tags found
No related merge requests found
...@@ -32,10 +32,10 @@ speed_ration_map = {1.: 0.25, # Fast passenger train ...@@ -32,10 +32,10 @@ speed_ration_map = {1.: 0.25, # Fast passenger train
env = RailEnv(width=50, env = RailEnv(width=50,
height=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 num_trainstations=50, # Number of possible start/targets on map
min_node_dist=15, # Minimal distance of nodes min_node_dist=8, # Minimal distance of nodes
node_radius=4, # Proximity of stations to city center node_radius=3, # Proximity of stations to city center
seed=15, # Random seed seed=15, # Random seed
grid_mode=False, grid_mode=False,
max_connection_points_per_side=2, max_connection_points_per_side=2,
......
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