A simple in-memory immutable KDTree and KDTreeMap implementations in Scala.
Currently the only operation supported is n-nearest neighbors lookup.
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"
See src/test/scala/
for examples.