|
BitMagic-C++
|
k-mer counting job functor class using bm::aggregator<> More...
Public Types | |
| typedef DNA_Scan::bvector_type | bvector_type |
| typedef bvector_type::size_type | size_type |
Public Member Functions | |
| Counting_JobFunctor (const DNA_Scan &parent_scanner, const bvector_type &bv_kmers, size_type from, size_type to, rsc_sparse_vector_u32 &kmer_counts) | |
| constructor | |
| Counting_JobFunctor (const Counting_JobFunctor &func) | |
| copy-ctor | |
| void | operator() () |
| Main logic (functor). | |
k-mer counting job functor class using bm::aggregator<>
Functor received its range of k-mers in the presence-absense bit-vector then follows it to run the search-counting algorithm using DNA fingerprints common for all job functors.
bm::aggregator<> cannot be shared across threads, so functor creates its own
Definition at line 695 of file xsample07.cpp.
| typedef DNA_Scan::bvector_type Counting_JobFunctor< DNA_Scan >::bvector_type |
Definition at line 698 of file xsample07.cpp.
| typedef bvector_type::size_type Counting_JobFunctor< DNA_Scan >::size_type |
Definition at line 699 of file xsample07.cpp.
|
inline |
constructor
Definition at line 703 of file xsample07.cpp.
Referenced by Counting_JobFunctor().
|
inline |
|
inline |
Main logic (functor).
Definition at line 719 of file xsample07.cpp.
References ik_size, k_mer_progress_count(), translate_kmer(), and bm::bvector< Alloc >::iterator_base::valid().