pubmodtopn;useanyhow::Result;/// Trait to implement distance voting engines.
////// Distance voting engine is used to select winning tracks among distances
/// resulted from the distance calculation.
///pubtraitVoting<R> {/// Method that selects winning tracks
///////// # Arguments
/// * `distances` - distances resulted from the distance calculation.
/// * `.0` is the track_id
/// * `.1` is the distance
///fnwinners(&self, distances:&[(u64,Result<f32>)])->Vec<R>;}