summaryrefslogtreecommitdiffstats
path: root/src/vp.rs
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-02-25 11:24:42 -0500
committerTavian Barnes <tavianator@tavianator.com>2021-02-25 11:24:42 -0500
commit15ec99c64f65da7966b4282ff94fee0a611c23df (patch)
tree9d810c6e5e3e8e1ead73e87c237e30823a588e52 /src/vp.rs
parent87a9da4e3ff0e54927ed20120db8b0317f7c272e (diff)
downloadacap-15ec99c64f65da7966b4282ff94fee0a611c23df.tar.xz
knn: Move NearestNeighbor interfaces to a submodule
Diffstat (limited to 'src/vp.rs')
-rw-r--r--src/vp.rs4
1 files changed, 2 insertions, 2 deletions
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() {