aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2021-11-28 19:04:35 -0600
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2021-11-28 19:04:35 -0600
commit7413e6d8a870788817fd1aff80e4a472f03fab9d (patch)
tree561b19728f09b96055589b3150a88ba46d16768c /README.md
downloadkdtree-wrapper-main.tar.xz
kdtree-wrapper-main.zip
KDTree WrapperHEADmain
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..0536e80
--- /dev/null
+++ b/README.md
@@ -0,0 +1,20 @@
+KDTree Wrapper
+==============
+
+A simple C++ wrapper for John Tsiombikas's kd-tree library.
+
+```
+KDTree<PointT, LabelT, Dims> kdtree;
+```
+
+PointT:
+- must contain a constructor to recieve points via a double buffer [double*]
+- must have a .data() method that produces a double buffer
+
+LabelT:
+- modifiable
+
+Dims:
+- Number of dimensions in PointT
+
+Search methods return `ResultSet` which acts similar to an iterator with more contraints \ No newline at end of file