From: Francois BERENGER <francois.c.berenger@vanderbilt.edu>
To: <caml-list@inria.fr>
Subject: Re: [Caml-list] [ANN] first release of minivpt: a minimalist vantage-point tree implementation in OCaml
Date: Tue, 28 Mar 2017 08:22:53 -0500 [thread overview]
Message-ID: <ed7f8744-172f-4772-ed75-c4614beed1e7@vanderbilt.edu> (raw)
In-Reply-To: <a37a294d-d0d4-1e44-bd58-4a67f49a325c@cea.fr>
On 03/28/2017 03:47 AM, François Bobot wrote:
> Le 27/03/2017 à 16:53, Francois BERENGER a écrit :
>> A vantage point tree allows to do fast (but exact) nearest neighbor
>> searches in a space of any dimension provided that you have a distance
>> function (to measure the distance between any two points in that space).
>
> It is very interesting and it is quite generic.
>>
>> My implementation follows the paper:
>> "Data Structures and Algorithms for Nearest Neighbor Search in General
>> Metric Spaces" by Peter N. Yianilos.
>
> Does incremental version of the algorithm exists?
Maybe but I don't know about them.
Other related data structures (axis-aligned bounding boxes, kd-trees,
etc.) are described in this book (but unfortunately nothing about vp-trees):
@book{ CompGeomThirdEdSpringer,
title = "Computational Geometry: Algorithms and Applications",
author = "M. {de Berg} and O. Cheong and M. {van Kreveld} and
M. Overmars",
edition = "Third Edition",
pages = {223--224},
doi = "10.1007/978-3-540-77974-2",
year = "2008",
publisher = "Springer"
}
> Without constructing
> the optimal vp-tree?
There is another OCaml version I found on the web a while ago,
which is meant to work on large point sets.
I archived it here:
https://github.com/UnixJunkie/vantage_point_tree_from_codepad
It would be nice to know the author and the license of this code
by the way.
I wasn't fan of the code style and length, so I crafted an
implementation for my own needs and put it into opam.
Regards,
F.
prev parent reply other threads:[~2017-03-28 13:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-27 14:53 Francois BERENGER
2017-03-28 8:47 ` François Bobot
2017-03-28 13:22 ` Francois BERENGER [this message]
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=ed7f8744-172f-4772-ed75-c4614beed1e7@vanderbilt.edu \
--to=francois.c.berenger@vanderbilt.edu \
--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