Skip to main content

distance_regressed

Function distance_regressed 

Source
pub fn distance_regressed(baseline_nm: f64, current_nm: f64) -> bool
Expand description

Whether current_nm counts as a regression against baseline_nm – see DISTANCE_REGRESSION_RELATIVE and DISTANCE_REGRESSION_FLOOR_NM for the margin. A route that got shorter never regresses here, whatever the reason.