Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
an R-tree implementation in OCaml
branch: master

Merge pull request #1 from hcarty/ocaml-4.00.0-compatibility

Update to oasis 0.3.0 for compatibility with OCaml 4.00.0
latest commit dc579fd702
marius a. eriksen authored
Failed to load latest commit information.
src Update to oasis 0.3.0 for compatibility with OCaml 4.00.0
test
.gitignore ignore _build
AUTHORS.txt
INSTALL.txt Update to oasis 0.3.0 for compatibility with OCaml 4.00.0
Makefile convert to OASIS
README.md README.md, and some Makefile cleanup.
README.txt convert to OASIS
_oasis Update to oasis 0.3.0 for compatibility with OCaml 4.00.0
_tags Update to oasis 0.3.0 for compatibility with OCaml 4.00.0
configure Update to oasis 0.3.0 for compatibility with OCaml 4.00.0
myocamlbuild.ml Update to oasis 0.3.0 for compatibility with OCaml 4.00.0
setup.ml

README.md

An R-tree implementation for OCaml

This implements a simple R-tree library according to Guttman's original paper. Currently node splitting is done through the quadratic algorithm in that paper.

The interface (and implementation) is purely functional.

A functor interface is also provided for providing implicit bounds for values.

The standard interface is:

type 'a t

val empty : 'a t
val insert : 'a t -> 'a -> Envelope.t -> 'a t
val find : 'a t -> Envelope.t -> 'a list
val size : 'a t -> int

and Envelope.t is simply float * float * float * float

To compile, run tests & install, simply:

$ make
$ make install

The only external depency is oUnit for running unit tests.

Something went wrong with that request. Please try again.