build_connections

passengersim.core.build_connections()

Build connections on this engine.

Notes

For minimum and maximum connection times, a flight is domestic when its endpoint airports share a country or a nonempty domestic_group. Country codes are unchanged, and same-country flights remain domestic regardless of group membership. With Schengen groups populated from a PassengerSim config, MAD-FRA-HEL uses DD thresholds, MAD-FRA-JFK uses DI, and JFK-FRA-HEL uses ID.

See passengersim.connection_builder.prebuild_connections() for automatic Schengen membership, place overrides, and rebuilding paths after changes. When configuring an engine directly, set airport domestic_group values explicitly; use existing_paths="replace" to rebuild existing paths.