The bktrees package

[Tags: bsd3, library]

Burkhard-Keller trees provide an implementation of sets which apart from the ordinary operations also has an approximate member search, allowing you to search for elements that are of a certain distance from the element you are searching for.


[Skip to ReadMe]

Properties

Versions0.1, 0.1.1, 0.1.2, 0.1.3, 0.2, 0.2.1, 0.2.2, 0.3, 0.3.1
Change logNone available
Dependenciesarray, base (<5), containers [details]
LicenseBSD3
AuthorJosef Svenningsson
Maintainerjosef.svenningsson@gmail.com
CategoryData Structures
Source repositoryhead: darcs get http://patch-tag.com/r/josef/bktrees
UploadedMon Nov 22 23:23:44 UTC 2010 by JosefSvenningsson
DistributionsNixOS:0.3.1
Downloads10211 total (89 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefaultType
splitbaseChoose the new smaller, split-up base package.EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for bktrees-0.3.1

This is a module I hacked together quickly after having read the following
blog post:
http://blog.notdot.net/archives/30-Damn-Cool-Algorithms,-Part-1-BK-Trees.html

I thought the data structure sounded cool so I thought it would be an 
interesting excerise to implement it. 

BK-trees can apparently perform very good in some circumstances. The 
paper "Fast Approximate String Matching in a Dictionary" (Baeza-Yates, 
Navarro 1998) recommends them over other structures for doing 
approximate search.
http://citeseer.ist.psu.edu/1593.html

The original paper can be found here:
http://portal.acm.org/citation.cfm?id=362003.362025

Henning Günter <h.guenther@tu-bs.de> generously supplied two algorithms for
computing the levenshtein edit distance. The better one of the two is used in
the list instance for the Metric class.