summaryrefslogtreecommitdiff
path: root/extractor/veb_bitset.h
blob: f8a91234a07c916c0693e6e18e89929f8c0b34b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _VEB_BITSET_H_
#define _VEB_BITSET_H_

#include <boost/dynamic_bitset.hpp>

#include "veb.h"

class VEBBitset: public VEB {
 public:
  VEBBitset(int size);

  void Insert(int value);

  int GetMinimum();

  int GetSuccessor(int value);

 private:
  boost::dynamic_bitset<> bitset;
};

#endif