Code / tutorial inconsistency
Hi,
The code and the documentation in the latest version (2.1.10) is inconsistent. In example.py the import line:
from flatland.envs.malfunction_generators import malfunction_from_params, MalfunctionParameters
is inconsistent as there is no MalfunctionParameters class / function.
In the main readmd.md the line:
env = RailEnv(width=width, height=height, rail_generator=rail_generator, schedule_generator=schedule_generator, number_of_agents=nr_trains, malfunction_generator_and_process_data=malfunction_from_params(stochastic_data), obs_builder_object=observation_builder, remove_agents_at_target=True # Removes agents at the end of their journey to make space for others )
creates an error as malfunction_from_params is not imported. Can you please fix these and create a consistent example file?