mjrasobarnett / ucnsim

A simulation of ultra-cold neutrons for neutron EDM experiments
MIT License
2 stars 0 forks source link

Absorb Emyr's kdtree implementation into codebase #15

Open mjrasobarnett opened 13 years ago

mjrasobarnett commented 13 years ago

Absorb Emyr's kdtree algorithms into codebase as they perform significantly faster than my own implementation.

Also, it is advised to shuffle the points list before putting into the tree, http://www.cplusplus.com/reference/algorithm/random_shuffle/

mjrasobarnett commented 13 years ago

Have tested Emyr's implementation and it is significantly faster. Will now absorb his algorithm into codebase.