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/kd.rs | |
parent | 87a9da4e3ff0e54927ed20120db8b0317f7c272e (diff) | |
download | acap-15ec99c64f65da7966b4282ff94fee0a611c23df.tar.xz |
knn: Move NearestNeighbor interfaces to a submodule
Diffstat (limited to 'src/kd.rs')
-rw-r--r-- | src/kd.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,8 +3,8 @@ use crate::coords::Coordinates; use crate::distance::Proximity; use crate::lp::Minkowski; +use crate::knn::{ExactNeighbors, NearestNeighbors, Neighborhood}; use crate::util::Ordered; -use crate::{ExactNeighbors, NearestNeighbors, Neighborhood}; use num_traits::Signed; @@ -541,7 +541,7 @@ where mod tests { use super::*; - use crate::tests::test_exact_neighbors; + use crate::knn::tests::test_exact_neighbors; #[test] fn test_kd_tree() { |