thesamet / kdtree-scala   1.0.5

Apache License 2.0 GitHub

KDTree and KDTreeMap implementation in Scala

Scala versions: 2.12 2.11 2.10


A simple in-memory immutable KDTree and KDTreeMap implementations in Scala.

Currently the only operation supported is n-nearest neighbors lookup.

Using with SBT

Add the following to your build.sbt:

resolvers += "Sonatype OSS Releases" at ""

libraryDependencies += "com.thesamet" %% "kdtree" % "1.0.4"


See src/test/scala/ for examples.