Trait petal_neighbors::distance::Metric[][src]

pub trait Metric<A> {
    fn distance(&self, _: &ArrayView1<'_, A>, _: &ArrayView1<'_, A>) -> A;
}
Expand description

The type of a distance metric function.

Required methods

Implementors