Trait space::KnnInsert [−][src]
pub trait KnnInsert<'a>: Knn<'a> { fn insert(&mut self, key: Self::Point, value: Self::Value) -> Self::Ix; }
Expand description
Implement this trait on KNN search data structures that map keys to values and which you can insert new (key, value) pairs.