Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kazu-yamamoto/bst

Binary search tree based on a logarithmic method
https://github.com/kazu-yamamoto/bst

Last synced: about 1 month ago
JSON representation

Binary search tree based on a logarithmic method

Awesome Lists containing this project

README

        

# Sized binary search tree

- Nievergelt & Reingold <1+sqrt 2,sqrt2> (METHOD=1)
- Roura (METHOD=2)
- Adams (4,2) (METHOD=3) -- this is the default code
- Adams (3,2) (METHOD=4)
- Nievergelt & Reingold <3,2> (METHOD=5)

# Tests with HUnit and QuickCheck

You can run tests:

% cd test
% runghc -i.. -DMETHOD=1 Test.hs
% runghc -i.. Test.hs --maximum-generated-tests=10000 -t difference