From 15ec99c64f65da7966b4282ff94fee0a611c23df Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 25 Feb 2021 11:24:42 -0500 Subject: knn: Move NearestNeighbor interfaces to a submodule --- src/vp.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vp.rs') diff --git a/src/vp.rs b/src/vp.rs index e0b218f..a5859ae 100644 --- a/src/vp.rs +++ b/src/vp.rs @@ -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() { -- cgit v1.2.3