pub trait DwellPolicy {
// Required method
fn dwell_time(&self, alighters: u32, boarders: u32) -> DwellTime;
}Expand description
Policy for computing stop dwell times from passenger exchange counts.
Required Methods§
Sourcefn dwell_time(&self, alighters: u32, boarders: u32) -> DwellTime
fn dwell_time(&self, alighters: u32, boarders: u32) -> DwellTime
Compute dwell time for a stop event.