GitXplorerGitXplorer
j

KD-Trees

public
0 stars
0 forks
1 issues

Commits

List of commits on branch main.
Verified
6a7819fd940a12bd35f75f4ad46ea15f82c91425

Update README.md

jjakee417 committed 4 years ago
Verified
b66a8f88f07f8452f9602d6b229fbc95fea5c126

Update README.md

jjakee417 committed 4 years ago
Verified
8b83007369da022f2b9804e47f59aa79d49c0d5d

Create README.md

jjakee417 committed 4 years ago
Unverified
d466dcad06c66cf87a67ba5e4097d0a44df5b47f

Create FinalReport.pdf

jjakee417 committed 4 years ago
Unverified
726260a6387c34d1ac9a833fed610b5714c9ff93

upload

jjakee417 committed 4 years ago
Unverified
526039c60184b0e69631e131610c1d6f5e05da86

Initial commit

jjakee417 committed 4 years ago

README

The README file for this repository.

KD Trees

This is the code repository for the final project of Stanford's CS106b which implements a KD Tree and conducts a K Nearest Neighbor search. This repository uses Stanford's C++ library.

FinalReport.pdf

Final report that explains the motivation for the setup of the problem along with an explanation of the solutions with discussion.

kdtree.h

Header file that creates the structure and newNode and insert functions.

NNsearch.cpp

Implements a naive 1-NN search, recursive 1-NN search with KD trees, and a recursive K-NN search with KD trees. Has simple test cases along with graphical output to confirm validity of solution.

datapoint.h, pqheap.h, & pqheap.cpp

Helper files for NNsearch.cpp implementing a Priority Queue and datapoint struc. This was created in a previous HW assignment for the course.

ball.h & ball.cpp

Graphics helpers for testing and viewing NN search