#include <stdlib.h>
#include <iostream>
#include "bm.h"
Go to the source code of this file.
Functions | |
void | fill_bvector (bm::bvector<> *bv1, bm::bvector<> *bv2) |
void | print_statistics (const bm::bvector<> &bv) |
int | main (void) |
Variables | |
const unsigned | MAX_VALUE = 1000000 |
void fill_bvector | ( | bm::bvector<> * | bv1, | |
bm::bvector<> * | bv2 | |||
) |
Definition at line 49 of file sample3.cpp.
References MAX_VALUE, and bm::bvector< Alloc >::set_bit().
Referenced by main().
int main | ( | void | ) |
Definition at line 75 of file sample3.cpp.
References bm::BM_GAP, fill_bvector(), bm::bvector< Alloc >::optimize(), print_statistics(), and bm::bvector< Alloc >::set_new_blocks_strat().
void print_statistics | ( | const bm::bvector<> & | bv | ) |
Definition at line 62 of file sample3.cpp.
References bm::bv_statistics::bit_blocks, bm::bvector< Alloc >::calc_stat(), bm::bvector< Alloc >::count(), bm::bv_statistics::gap_blocks, bm::bv_statistics::max_serialize_mem, and bm::bv_statistics::memory_used.
Referenced by main().
const unsigned MAX_VALUE = 1000000 |
Definition at line 43 of file sample3.cpp.
Referenced by fill_bvector().