Code Monkey home page Code Monkey logo

ocaml-rtree's Introduction

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.

ocaml-rtree's People

Contributors

mariusae avatar hcarty avatar

Stargazers

 avatar A ghost. avatar Theofanis Despoudis avatar Patrick Cieplak avatar Jonathan Zernik avatar David.Gao avatar Owain Lewis avatar forhappy avatar Bob TheBuilder avatar David Reynolds avatar  avatar François Bérenger avatar Mika Illouz avatar Brian Rogoff avatar Roma Sokolov avatar  avatar Simon Thépot avatar Thomas Gazagnaire avatar David Sheets avatar Anil Madhavapeddy avatar Phil Tomson avatar  avatar Cameron McBride avatar Aleksandr Zhuravlev avatar

Watchers

 avatar  avatar James Cloos avatar Tan-Yu Liu avatar  avatar  avatar

ocaml-rtree's Issues

make error

Hi,

I had rtree working about a year ago. I'm now getting an error on make. I'm on 4.02.3.

Any ideas?

make
ocaml setup.ml -build
File "/home/mlavigne/ocamlbrew/ocaml-4.00.0/build/odb/install-oasis/oasis-0.3.0/src/oasis/OASISString.ml", line 118, characters 8-26:
Warning 3: deprecated: String.set
Use Bytes.set instead.
File "/home/mlavigne/ocamlbrew/ocaml-4.00.0/build/odb/install-oasis/oasis-0.3.0/src/oasis/OASISLibrary.ml", line 402, characters 6-24:
Warning 3: deprecated: Lazy.lazy_from_fun
Use Lazy.from_fun instead.
sh: /Users/caseybasichis/.opam/4.01.0/bin/ocamlbuild: No such file or directory
E: Failure("Command ''/Users/caseybasichis/.opam/4.01.0/bin/ocamlbuild' src/rtree.cma src/rtree.cmxa src/rtree.a src/rtree.cmxs test/basic.byte -tag debug' terminated with error code 127")
make: *** [build] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.