trafficgen.ship_traffic_generator¶
Functions to generate traffic situations.
Functions
Generate traffic situations based on the provided input files. |
- trafficgen.ship_traffic_generator.generate_traffic_situations(situation_folder: Path, own_ship_file: Path, target_ship_folder: Path, settings_file: Path) list[TrafficSituation] ¶
Generate traffic situations based on the provided input files.
- Parameters:
situation_folder (Path) – Path to the folder containing situation files.
own_ship_file (Path) – Path to the file containing own ship static data.
target_ship_folder (Path) – Path to the folder containing target ship static files.
settings_file (Path) – Path to the file containing encounter settings.
- Returns:
A list of generated traffic situations.
- Return type:
list[TrafficSituation]