caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Francois Berenger <berenger@riken.jp>
To: caml-list@inria.fr
Cc: biocaml@googlegroups.com
Subject: Re: [Caml-list] Fwd: interval trees
Date: Wed, 15 Feb 2012 10:28:38 +0900	[thread overview]
Message-ID: <4F3B0A46.3070105@riken.jp> (raw)
In-Reply-To: <4F38D455.1040204@irisa.fr>

Hello,

I did a naive implementation of interval trees for float intervals.

It is available here:
https://github.com/HappyCrow/interval-tree

I wonder if it is possible to construct the trees in a tail recursive 
fashion. Maybe I knew how to do this when I was still at university.

Regards,
Francois.

On 02/13/2012 06:13 PM, Sebastien Ferre wrote:
>
>
> On 02/11/2012 06:49 PM, Eliot Handelman wrote:
>> On 11/02/2012 12:38 PM, Goswin von Brederlow wrote:
>>>
>>> Anyone have something like this but for non-overlapping intervals and
>>> allowing interval insertion and removal with merging and spliting of the
>>> internaly used intervals?
>>
>> Cis from Sébastien Ferré?
>>
>> http://www.irisa.fr/LIS/ferre/software.en.html
>
> The Cis library (Cis for Compact Integer Sets) is
> designed for representing sets of integers, but it
> could easily be adapted to the insertion and
> removal of intervals since it already handles
> the merging and spliting og intervals.
>
> Sébastien


  reply	other threads:[~2012-02-15  1:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-10  1:07 Francois Berenger
2012-02-10 18:29 ` Richard W.M. Jones
2012-02-11 17:38   ` Goswin von Brederlow
2012-02-11 17:49     ` Eliot Handelman
2012-02-13  9:13       ` Sebastien Ferre
2012-02-15  1:28         ` Francois Berenger [this message]
2012-02-15 15:21           ` Goswin von Brederlow
2012-02-15 17:22             ` Edgar Friendly
2012-02-16  2:48               ` Francois Berenger
2012-02-16  2:32             ` Francois Berenger
2012-02-16  2:42               ` Francois Berenger
2012-02-16  8:34                 ` Goswin von Brederlow
2012-02-16 12:20                   ` John Carr
2012-02-16 10:21                 ` Gabriel Scherer
2012-02-17  0:59                   ` Francois Berenger
2012-02-17  8:11                     ` Christophe Raffalli
2012-02-11 20:49     ` Edgar Friendly
2012-02-11 23:54       ` Philippe Veber
2012-02-11 10:54 ` Philippe Veber
2012-02-11 17:33   ` Goswin von Brederlow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F3B0A46.3070105@riken.jp \
    --to=berenger@riken.jp \
    --cc=biocaml@googlegroups.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).