/kdtree-scala

KDTree and KDTreeMap implementation in Scala

Primary LanguageScalaApache License 2.0Apache-2.0

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.