|
BitMagic-C++
|
Example: Succinct container iterator for (substring), search, mismatch. More...
#include <iostream>#include <string>#include <vector>#include <cassert>#include "bm.h"#include "bmstrsparsevec.h"#include "bmsparsevec_algo.h"#include "bmundef.h"
Go to the source code of this file.
Typedefs | |
| typedef bm::str_sparse_vector< char, bvector_type, 32 > | str_sv_type |
Functions | |
| int | main (void) |
Example: Succinct container iterator for (substring), search, mismatch.
Example: Succinct container binary search.
Definition in file strsvsample06.cpp.
| typedef bm::str_sparse_vector<char, bvector_type, 32> str_sv_type |
Definition at line 45 of file strsvsample06.cpp.
| int main | ( | void | ) |
Definition at line 47 of file strsvsample06.cpp.
References bm::bvector< Alloc >::any(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::begin(), BM_DECLARE_TEMP_BLOCK, bm::bvector< Alloc >::count(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::end(), bm::sparse_vector_scanner< SV, S_FACTOR >::find_eq_str(), bm::sparse_vector_scanner< SV, S_FACTOR >::find_eq_str_prefix(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::get_back_inserter(), bm::bvector< Alloc >::get_enumerator(), bm::base_sparse_vector< Val, BV, MAX_SIZE >::get_null_bvector(), bm::bvector< Alloc >::invert(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::optimize(), bm::bvector< Alloc >::resize(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::set(), bm::str_sparse_vector< CharType, BV, STR_SIZE >::size(), bm::sparse_vector_find_first_mismatch(), and bm::use_null.