Commit Graph

90937 Commits

Author SHA1 Message Date
Jackson Campolattaro 4a2bbff45a Add param documentation to all public member functions 2020-07-16 10:49:27 -04:00
Jackson Campolattaro f0c4b6016d Add brief documentation for bbox and nearest_k_neighbours 2020-07-16 10:40:10 -04:00
Jackson Campolattaro 498ac2fd21 Octree now outperforms naive for over 1000 points 2020-07-15 21:49:24 -04:00
Jackson Campolattaro e82016ee7c Octree now outperforms naive for the largest dataset 2020-07-15 21:47:19 -04:00
Jackson Campolattaro 0005c08ec2 Add tests to catch the error just fixed 2020-07-15 21:45:57 -04:00
Jackson Campolattaro c6e52a6f43 Fix error setting location when building a node 2020-07-15 21:40:55 -04:00
Jackson Campolattaro 11174762e2 Find presumed cause of error through testing of bbox 2020-07-15 21:36:52 -04:00
Jackson Campolattaro 9f4005252a Fix indentation of octree pretty-print 2020-07-15 14:41:00 -04:00
Jackson Campolattaro 9eccefab9c Prepare for child of child tests 2020-07-15 14:40:02 -04:00
Jackson Campolattaro 5c89761f9c Add first child node tests 2020-07-15 14:27:31 -04:00
Jackson Campolattaro 255903cef2 Add root node tests 2020-07-15 14:17:37 -04:00
Jackson Campolattaro f8b65e251d Outline test of bbox function 2020-07-15 12:28:35 -04:00
Jackson Campolattaro d6b41c8875 Add bbox function for getting the bounding box of a node 2020-07-15 12:13:50 -04:00
Jackson Campolattaro 7d0ef74b71 Use pairs to map each point to its distance from the search point, reducing recalculation 2020-07-15 11:26:16 -04:00
Jackson Campolattaro b866d5a0c3 Nearest neighbour algorithm now skips nodes, but not yet enough to be faster than the naive algorithm 2020-07-15 11:02:32 -04:00
Jackson Campolattaro 29ce52e1e8 Add timing information to test printout 2020-07-15 10:56:43 -04:00
Jackson Campolattaro c48ca1d97f Add Bbox construction from node 2020-07-15 10:49:09 -04:00
Jackson Campolattaro e8ad665b0c Add do_intersect invocation 2020-07-15 10:31:48 -04:00
Jackson Campolattaro 244bf6e30a Add Sphere typedef 2020-07-15 10:26:27 -04:00
Jackson Campolattaro d5c1770024 Outline intersection method between nodes and spheres 2020-07-15 10:13:56 -04:00
Jackson Campolattaro a7be05f73e Deactivate kD_tree test 2020-07-15 10:09:41 -04:00
Jackson Campolattaro 267878b8a6 Remove timing tooling from kD_tree tests 2020-07-14 21:50:13 -04:00
Jackson Campolattaro 76a59e5996 Remove un-simplified algorithm, rename simple version 2020-07-14 21:44:13 -04:00
Jackson Campolattaro e9b9c1df3d Make the simplified algorithm functional, but slower than the brute force solution 2020-07-14 21:42:42 -04:00
Jackson Campolattaro 1ee73d70a9 Flesh out the algorithm's outline 2020-07-14 18:34:24 -04:00
Jackson Campolattaro 0d4923bbd0 Flesh out the algorithm's outline 2020-07-14 18:32:55 -04:00
Jackson Campolattaro 5da23c2698 Fix iteration over node children 2020-07-14 17:27:09 -04:00
Jackson Campolattaro 4b0cd66a10 Add largest_distance arg to simplified recursive algorithm 2020-07-14 16:15:59 -04:00
Jackson Campolattaro b93bff7107 Add Node argument to simple recursive algorithm 2020-07-14 16:13:35 -04:00
Jackson Campolattaro e6499edb1a Print number of points when running nearest neighbour tests 2020-07-14 15:26:36 -04:00
Jackson Campolattaro 704ff6f381 Implement nearest neighbours recursive caller method 2020-07-14 15:14:47 -04:00
Jackson Campolattaro 7a1f10f7d0 Begin defining a simplified nearest neighbours algorithm 2020-07-14 15:01:57 -04:00
Jackson Campolattaro 5c7316c5a5 Recursive nearest neighbours now sorts its node queue 2020-07-14 11:30:56 -04:00
Jackson Campolattaro 05f26aff6b Add recursive invocation 2020-07-13 16:01:52 -04:00
Jackson Campolattaro 4459d3bd29 Rename nearest neighbour test 2020-07-13 15:31:49 -04:00
Jackson Campolattaro fcf9ed91ee Begin outlining recursive nearest neighbour search 2020-07-13 15:30:59 -04:00
Jackson Campolattaro 1c23d1572e Determine function signature for recursive neighbours method 2020-07-13 14:23:43 -04:00
Jackson Campolattaro ab6ecb6bbb Add nearest_k_neighbours_recursive private method stub 2020-07-13 14:02:27 -04:00
Jackson Campolattaro c3c299d588 Nearest_k_neighbours is now const 2020-07-13 13:00:10 -04:00
Jackson Campolattaro b0386c82b3 Add unimplemented kd_tree based test 2020-07-13 11:09:07 -04:00
Jackson Campolattaro 736bcb04fb Add placeholder nearest_k_neighbours with testing 2020-07-13 10:55:32 -04:00
Jackson Campolattaro 29394deb7c Move pretty-printing responsibility to octree ostream operator 2020-07-10 12:45:14 -04:00
Jackson Campolattaro 40a2d1844b Add doxygen comment stubs to walkers 2020-07-10 12:36:42 -04:00
Jackson Campolattaro 86c627b1da Add a short description of the locate method 2020-07-10 12:25:28 -04:00
Jackson Campolattaro 8f62f239e4 Add a larger test of locate() 2020-07-10 11:51:30 -04:00
Jackson Campolattaro 7be1861444 Implement and test locate() 2020-07-09 23:37:32 -04:00
Jackson Campolattaro ff40de6ea0 Move std::endl out of node ostream operator 2020-07-09 23:27:47 -04:00
Jackson Campolattaro 836e4710b2 Improve Index printout 2020-07-09 23:26:45 -04:00
Jackson Campolattaro 40bf7cbc8e Add more thorough testing of locate() 2020-07-09 13:43:21 -04:00
Jackson Campolattaro 6d2281b13d Update node equality documentation 2020-07-09 13:33:03 -04:00