Manages counting ranges of values for the raptor::hierarchical_interleaved_bloom_filter.
More...
#include <raptor/hierarchical_interleaved_bloom_filter.hpp>
|
|
template<std::ranges::forward_range value_range_t> |
seqan3::counting_vector< value_t > const & | bulk_count (value_range_t &&values, size_t const threshold=1u) &noexcept |
| Counts the occurrences in each bin for all values in a range. More...
|
|
template<std::ranges::range value_range_t> |
seqan3::counting_vector< value_t > const & | bulk_count (value_range_t &&values, size_t const threshold=1u) &&noexcept=delete |
|
|
seqan3::counting_vector< value_t > | result_buffer |
| Stores the result of bulk_count().
|
|
|
template<std::ranges::forward_range value_range_t> |
void | bulk_count_impl (value_range_t &&values, int64_t const ibf_idx, size_t const threshold) |
| Helper for recursive bulk counting.
|
|
template<seqan3::data_layout data_layout_mode_ = seqan3::data_layout::uncompressed>
template<std::integral value_t>
class raptor::hierarchical_interleaved_bloom_filter< data_layout_mode_ >::counting_agent_type< value_t >
Manages counting ranges of values for the raptor::hierarchical_interleaved_bloom_filter.
◆ counting_agent_type()
template<seqan3::data_layout data_layout_mode_ = seqan3::data_layout::uncompressed>
template<std::integral value_t>
◆ bulk_count()
template<seqan3::data_layout data_layout_mode_ = seqan3::data_layout::uncompressed>
template<std::integral value_t>
template<std::ranges::forward_range value_range_t>
Counts the occurrences in each bin for all values in a range.
- Template Parameters
-
value_range_t | The type of the range of values. Must model std::ranges::forward_range. The reference type must model std::unsigned_integral. |
- Parameters
-
[in] | values | The range of values to process. |
[in] | threshold | Do not recurse into merged bins with less than this many hits. Default: 1. |
- Attention
- The result of this function must always be bound via reference, e.g.
auto &
, to prevent copying.
-
Sequential calls to this function invalidate the previously returned reference.
Thread safety
Concurrent invocations of this function are not thread safe, please create a raptor::hierarchical_interleaved_bloom_filter::counting_agent_type for each thread.
The documentation for this class was generated from the following file: