StationVehicleSchedulePool

Type Alias StationVehicleSchedulePool 

Source
type StationVehicleSchedulePool = Vec<Vec<BTreeMap<TimetableTime, Vec<Entity>>>>;
Expand description

A pool of vehicles available at each station and track. This is because OuDiaSecond uses a service based model, while Paiagram uses a vehicle based model. OuDiaSecond does not keep track of which vehicle is assigned to which service directly, rather, each service would have events at different stations and tracks. This structure helps to map services to vehicles.

Aliased Typeยง

struct StationVehicleSchedulePool { /* private fields */ }