Skip to content

Commit 75c9ad7

Browse files
committed
stub for aann
1 parent 1e529de commit 75c9ad7

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

nblast-rs/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ rstar = { version = "0.13", optional = true }
3232
nabo = { version = "0.6", optional = true }
3333
kiddo = { version = "4.2.1", optional = true }
3434
bosque = { version = "0.2.0", optional = true }
35+
aann-graph = { version = "0.1.2", optional = true }
36+
shull = { version = "0.3.0", optional = true }
37+
ndarray = { version = "0.17.2", optional = true }
3538

3639
[dev-dependencies]
3740

@@ -45,6 +48,7 @@ default = ["kiddo"]
4548

4649
parallel = ["rayon"]
4750
serde = ["dep:serde", "kiddo?/serialize", "rstar?/serde"]
51+
aann = ["dep:aann-graph", "dep:shull", "dep:ndarray"]
4852

4953
[[bench]]
5054

nblast-rs/src/neurons/aann.rs

Whitespace-only changes.

nblast-rs/src/neurons/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
//! [Neuron] is a convenient type alias for our recommended backend given those available.
66
use crate::{centroid, DistDot, Normal3, Point3, Precision, ScoreCalc};
77

8+
#[cfg(feature = "aann")]
9+
pub mod aann;
810
#[cfg(feature = "bosque")]
911
pub mod bosque;
1012
#[cfg(feature = "kiddo")]

0 commit comments

Comments
 (0)