Skip to content
Snippets Groups Projects
Commit e1ffa1b4 authored by nimishsantosh107's avatar nimishsantosh107
Browse files

changed default values for sparse_rail_generator

parent 73dd5f65
No related branches found
No related tags found
No related merge requests found
...@@ -162,7 +162,7 @@ def sparse_rail_generator(*args, **kwargs): ...@@ -162,7 +162,7 @@ def sparse_rail_generator(*args, **kwargs):
class SparseRailGen(RailGen): class SparseRailGen(RailGen):
def __init__(self, max_num_cities: int = 5, grid_mode: bool = False, max_rails_between_cities: int = 4, def __init__(self, max_num_cities: int = 2, grid_mode: bool = False, max_rails_between_cities: int = 2,
max_rail_pairs_in_city: int = 2, seed=0) -> RailGenerator: max_rail_pairs_in_city: int = 2, seed=0) -> RailGenerator:
""" """
Generates railway networks with cities and inner city rails Generates railway networks with cities and inner city rails
......
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