Skip to main content

select

Function select 

Source
pub fn select<'a>(
    proof: &SelectionInput,
    candidates: impl IntoIterator<Item = &'a PointResult>,
    score: impl Fn(&PointResult) -> Option<f64>,
) -> Option<&'a PointResult>
Expand description

Clean selection proof and candidates. There is deliberately no energy input.