diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-02-25 11:24:42 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-02-25 11:24:42 -0500 |
commit | 15ec99c64f65da7966b4282ff94fee0a611c23df (patch) | |
tree | 9d810c6e5e3e8e1ead73e87c237e30823a588e52 /src/exhaustive.rs | |
parent | 87a9da4e3ff0e54927ed20120db8b0317f7c272e (diff) | |
download | acap-15ec99c64f65da7966b4282ff94fee0a611c23df.tar.xz |
knn: Move NearestNeighbor interfaces to a submodule
Diffstat (limited to 'src/exhaustive.rs')
-rw-r--r-- | src/exhaustive.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exhaustive.rs b/src/exhaustive.rs index 442850c..f0abf9c 100644 --- a/src/exhaustive.rs +++ b/src/exhaustive.rs @@ -1,7 +1,7 @@ -//! Exhaustive nearest neighbor search. +//! [Exhaustive nearest neighbor search](https://en.wikipedia.org/wiki/Nearest_neighbor_search#Linear_search). use crate::distance::Proximity; -use crate::{ExactNeighbors, NearestNeighbors, Neighborhood}; +use crate::knn::{ExactNeighbors, NearestNeighbors, Neighborhood}; use std::iter::FromIterator; @@ -118,7 +118,7 @@ impl<K: Proximity<V>, V> ExactNeighbors<K, V> for ExhaustiveSearch<V> {} pub mod tests { use super::*; - use crate::tests::test_exact_neighbors; + use crate::knn::tests::test_exact_neighbors; #[test] fn test_exhaustive_index() { |