thesamet / kdtree-scala

KDTree and KDTreeMap implementation in Scala
Apache License 2.0
33 stars 13 forks source link

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.