English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Suffix trees
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-08-31 (08:25)
From: Sebastien Ferre <Sebastien.Ferre@i...>
Subject: Re: [Caml-list] Suffix trees
Hi,

Jon Harrop wrote:
> Anyone got any high-performance suffix tree implementations in OCaml? (I've 
> seen Jean-Christophe's)

you can find the implementation I made for my
own needs at http://www.irisa.fr/LIS/ferre/software.en.html .
I hope it will fit your needs. I thrived to make it
efficient.

It is possible to make it more efficient by
removing the code for the computation of maximal substrings
that makes the computation of the suffix tree in O(n.ln(n))
instead of O(n).
The motivation for the computation of these maximal substrings
can be found in the following paper:
http://www.springerlink.com/content/a2p06g831821054g/

Do not hesitate to ask me explanations about the interface
as the comments are rather limited :-).

Cheers,
Sébastien Ferré