pub mod best;
pub mod topn;
use crate::track::{ObservationAttributes, ObservationMetricOk};
use std::collections::HashMap;
pub trait Voting<OA>
where
OA: ObservationAttributes,
{
type WinnerObject;
fn winners<T>(&self, distances: T) -> HashMap<u64, Vec<Self::WinnerObject>>
where
T: IntoIterator<Item = ObservationMetricOk<OA>>;
}