Function etterna::find_fastest_combo_in_score[][src]

pub fn find_fastest_combo_in_score<I, T>(
    seconds: &[f32],
    are_cbs: impl IntoIterator<Item = bool>,
    min_num_notes: u32,
    max_num_notes: u32,
    wife_pts: Option<&[f32]>,
    rate: f32
) -> FastestComboInfo

Find the fastest combo within the score. It searched only for combos whose lengths lie inside min_num_notes..=max_num_notes.

The are_cbs iterator must yield as many elements as seconds and wife_pts (if present) have.

If wife_pts is provided, the nps will be multiplied by wife pts. the ‘nps’ is practically ‘wife points per second’ then