Adds CoverTree implementation

This commit is contained in:
Volodymyr Orlov
2019-09-23 20:54:21 -07:00
parent 3efd078034
commit 874d528f58
6 changed files with 333 additions and 124 deletions
+11
View File
@@ -0,0 +1,11 @@
pub mod cover_tree;
pub mod linear_search;
pub enum KNNAlgorithmName {
CoverTree,
LinearSearch,
}
pub trait KNNAlgorithm<T>{
fn find(&self, from: &T, k: usize) -> Vec<usize>;
}