BitMagic-C++
|
Data Structures | |
struct | vect_addr |
Public Types | |
typedef bm::sparse_vector< unsigned, bm::bvector<> > | sparse_vector_type |
typedef std::map< unsigned, vect_addr > | map_type |
typedef std::vector< std::pair< uint64_t, unsigned > > | delta_sum_map_type |
Public Member Functions | |
void | get_vector (unsigned id, std::vector< unsigned > &vect) const |
Data Fields | |
sparse_vector_type | sv_storage_ |
sparse_vector_type | sv_storage1_ |
map_type | idx_ |
Definition at line 165 of file xsample01.cpp.
std::vector< std::pair<uint64_t, unsigned> > sparse_vect_index::delta_sum_map_type |
Definition at line 175 of file xsample01.cpp.
std::map<unsigned, vect_addr> sparse_vect_index::map_type |
Definition at line 174 of file xsample01.cpp.
Definition at line 173 of file xsample01.cpp.
void sparse_vect_index::get_vector | ( | unsigned | id, |
std::vector< unsigned > & | vect ) const |
Definition at line 186 of file xsample01.cpp.
References bm::sparse_vector< Val, BV >::get(), idx_, sparse_vect_index::vect_addr::offset, sparse_vect_index::vect_addr::size, sv_storage1_, and sv_storage_.
Referenced by convert_bv2sv(), and speed_test_sv_index().
map_type sparse_vect_index::idx_ |
Definition at line 183 of file xsample01.cpp.
Referenced by convert_bv2sv(), get_vector(), and speed_test_sv_index().
sparse_vector_type sparse_vect_index::sv_storage1_ |
Definition at line 182 of file xsample01.cpp.
Referenced by convert_bv2sv(), and get_vector().
sparse_vector_type sparse_vect_index::sv_storage_ |
Definition at line 181 of file xsample01.cpp.
Referenced by convert_bv2sv(), and get_vector().