35 #ifndef RTABMAP_FLANN_DYNAMIC_BITSET_H_ 36 #define RTABMAP_FLANN_DYNAMIC_BITSET_H_ 40 #include <boost/dynamic_bitset.hpp> 41 typedef boost::dynamic_bitset<> DynamicBitset;
123 void set(
size_t index)
145 template <
typename Archive>
163 #endif // FLANN_DYNAMIC_BITSET_H_
bool empty() const
checks if the bitset is empty
DynamicBitset(size_t size)
static const unsigned int cell_bit_size_
void reset(size_t index)
set one bit to 0
bool test(size_t index) const
void serialize(Archive &ar)
std::vector< size_t > bitset_
void reset_block(size_t index)
sets a specific bit to 0, and more bits too This function is useful when resetting a given set of bit...