diff options
author | Paul Baltescu <pauldb89@gmail.com> | 2013-02-22 11:59:17 +0000 |
---|---|---|
committer | Paul Baltescu <pauldb89@gmail.com> | 2013-02-22 11:59:17 +0000 |
commit | d69c289e172562039bcbe987657280332ab6315e (patch) | |
tree | cc67d97bf802101d981cfacadb1cea80472aa107 /extractor/veb.cc | |
parent | a21835881984ba90f303c7b1681d295678cb7131 (diff) |
Remove original version of the intersector.
Diffstat (limited to 'extractor/veb.cc')
-rw-r--r-- | extractor/veb.cc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/extractor/veb.cc b/extractor/veb.cc deleted file mode 100644 index f38f672e..00000000 --- a/extractor/veb.cc +++ /dev/null @@ -1,25 +0,0 @@ -#include "veb.h" - -#include "veb_bitset.h" -#include "veb_tree.h" - -int VEB::MIN_BOTTOM_BITS = 5; -int VEB::MIN_BOTTOM_SIZE = 1 << VEB::MIN_BOTTOM_BITS; - -shared_ptr<VEB> VEB::Create(int size) { - if (size > MIN_BOTTOM_SIZE) { - return shared_ptr<VEB>(new VEBTree(size)); - } else { - return shared_ptr<VEB>(new VEBBitset(size)); - } -} - -int VEB::GetMinimum() { - return min; -} - -int VEB::GetMaximum() { - return max; -} - -VEB::VEB(int min, int max) : min(min), max(max) {} |