Skip to content

iHR4K/K-Dimensional-Tree

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K-Dimensional-Tree

Created by: Brandon Wheeless
CS3353 - Introduction to Algorithms
Student ID: 47648267
April 5, 2021
The implementation of the K-Dimensional Tree in main was derived from code found on GeeksForGeeks here. The test cases are improvements from ones seen in the sample code to showcase some of the capabilities of this data structure.
It is important to note that this data structure is a barebone implementation and contains insertion functionality, find minimum, search, and deletion.

What is a K-Dimensional Tree

A K-Dimensional Tree (also known as K-D Tree) is a space-partitioning data structure for organizing points in a K-Dimensional space. This data structure acts similar to a binary search tree with each node representing data in the multi dimensional space.

What is happening in the tests?

The tests are a way to test if the multi-dimensionality of the K-Dimensional Tree is holding up.
In the test code we test:

  1. Multi-dimensionality of the K-Dimensional Tree
  2. Finding the minimum point in the K-D Tree
  3. Using the search function to find a point in the K-D Tree and a point not in the K-D Tree
  4. The deletion of a point in the K-D Tree

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 38.1%
  • C 28.1%
  • CMake 19.4%
  • Makefile 14.4%