thesamet / kdtree-scala   1.0.5

Apache License 2.0 GitHub

KDTree and KDTreeMap implementation in Scala

Scala versions: 2.10 2.11 2.12

KDTree-Scala

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 "http://oss.sonatype.org/content/repositories/releases/"

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

Examples

See src/test/scala/ for examples.