Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Binary search tree based on a logarithmic method
Haskell Shell Python Ruby
branch: master
Failed to load latest commit information.
Data IMPORTANT PATCH: rational benchmark.
benchmark-rational adding a file.
benchmark
benchmark2 trivial pseudo random.
omega added omega code
test clean up the code.
test2
.gitignore ignoring *.orig
README.md typo fix.

README.md

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
Something went wrong with that request. Please try again.