Skip to content

Commit

Permalink
Add kd_tree construction
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonCampolattaro committed Jul 16, 2020
1 parent 6858dd4 commit f34c8b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Octree/test/Octree/test_octree_nearest_neighbour.cpp
Expand Up @@ -118,6 +118,7 @@ void kdtree_vs_octree(std::size_t dataset_size) {

// Use the naive algorithm to find the nearest point in the dataset
Point kdtree_nearest = *points.points().begin();
Kd_tree kd_tree(points.points().begin(), points.points().end());
{
// TODO: kD_tree invocation
}
Expand Down Expand Up @@ -163,7 +164,7 @@ int main(void) {
naive_vs_octree(10000);
naive_vs_octree(100000);

// kdtree_vs_octree(100);
kdtree_vs_octree(100);
// kdtree_vs_octree(1000);
// kdtree_vs_octree(10000);
// kdtree_vs_octree(100000);
Expand Down

0 comments on commit f34c8b2

Please sign in to comment.