#nearest-neighbor-search #space #3d #algorithm #reference

octree

Octree algorithm for nearest neighbor search in 3D space

2 unstable releases

0.1.0 Mar 10, 2020
0.0.6 Feb 6, 2020

#2204 in Algorithms

Download history 43/week @ 2024-03-11 59/week @ 2024-03-18 86/week @ 2024-03-25 119/week @ 2024-04-01 36/week @ 2024-04-08 48/week @ 2024-04-15 50/week @ 2024-04-22 47/week @ 2024-04-29 53/week @ 2024-05-06 50/week @ 2024-05-13 70/week @ 2024-05-20 44/week @ 2024-05-27 44/week @ 2024-06-03 46/week @ 2024-06-10 48/week @ 2024-06-17 56/week @ 2024-06-24

199 downloads per month
Used in 17 crates (via gchemol-neighbors)

MIT/Apache

1.5MB
545 lines

This is my first crate for learning Rust.

Performance

test data: examples/data/3wu2.xyz, coordinates of 51053 particles extracted from a PDB file 3wu2

img

How to to reproduce

rust-octree (v0.0.6):

RAYON_NUM_THREADS=1 cargo run --example demo --release

scipy-ckdtree(v1.3.2):

ipython> edit scripts/bench.py
ipython> %timeit -n 10 run_test()

Related crates

References

Footnotes

https://www.rcsb.org/structure/3wu2

Dependencies