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/vp.rs | |
parent | 87a9da4e3ff0e54927ed20120db8b0317f7c272e (diff) | |
download | acap-15ec99c64f65da7966b4282ff94fee0a611c23df.tar.xz |
knn: Move NearestNeighbor interfaces to a submodule
Diffstat (limited to 'src/vp.rs')
-rw-r--r-- | src/vp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,8 +1,8 @@ //! [Vantage-point trees](https://en.wikipedia.org/wiki/Vantage-point_tree). use crate::distance::{Distance, DistanceValue, Metric, Proximity}; +use crate::knn::{ExactNeighbors, NearestNeighbors, Neighborhood}; use crate::util::Ordered; -use crate::{ExactNeighbors, NearestNeighbors, Neighborhood}; use num_traits::zero; @@ -620,7 +620,7 @@ where mod tests { use super::*; - use crate::tests::test_exact_neighbors; + use crate::knn::tests::test_exact_neighbors; #[test] fn test_vp_tree() { |