Skip to content

chris7ceid/KdTree

Repository files navigation

2dKDTREE

Steps:

:load KDTree.scala

First Tree: 2) :load init_firstKd.scala

        OR

Second Tree: 2) :load init_secondKd.scala

Results:

:load testKD.scala // DFS, BFS , Enter [x,y]

Other Commands:

tree.insert( X , Y ) // add a point x,y

tree.search( X , Y ) // returns Node

tree.findkNN(X , Y , K)// Κ = Number of Nearest Neighbours

tree.remove( X , Y) //remove a Node

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published