42 cout <<
"<EMPTY SET>";
44 for(;first != last; ++first)
45 cout << *first <<
", ";
56 cout <<
"Source set:";
62 cout <<
"CO=" << carry_over << endl;
76 catch(std::exception& ex)
78 std::cerr << ex.what() << std::endl;
Compressed bit-vector bvector<> container, set algebraic methods, traversal iterators.
pre-processor un-defines to avoid global space pollution (internal)
Bitvector Bit-vector container with runtime compression of bits.
void optimize(bm::word_t *temp_block=0, optmode opt_mode=opt_compress, statistics *stat=0)
Optimize memory bitvector's memory allocation.
enumerator first() const
Returns enumerator pointing on the first non-zero bit.
bool shift_left()
Shift left by 1 bit, fill with zero return carry out.
void erase(size_type n)
Erase bit in the specified position All the vector content after erase position is shifted left.
enumerator end() const
Returns enumerator pointing on the next bit after the last.
void PrintContainer(T first, T last)