Manages membership queries for the raptor::hierarchical_interleaved_bloom_filter.
More...
#include <raptor/hierarchical_interleaved_bloom_filter.hpp>
|
|
template<std::ranges::forward_range value_range_t> |
std::vector< int64_t > const & | bulk_contains (value_range_t &&values, size_t const threshold) &noexcept |
| Determines set membership of given values, and returns the user bin indices of occurrences. More...
|
|
template<std::ranges::range value_range_t> |
std::vector< int64_t > const & | bulk_contains (value_range_t &&values, size_t const threshold) &&noexcept=delete |
|
|
template<std::ranges::forward_range value_range_t> |
void | bulk_contains_impl (value_range_t &&values, int64_t const ibf_idx, size_t const threshold) |
| Helper for recursive membership querying.
|
|
template<seqan3::data_layout data_layout_mode_ = seqan3::data_layout::uncompressed>
class raptor::hierarchical_interleaved_bloom_filter< data_layout_mode_ >::membership_agent_type
Manages membership queries for the raptor::hierarchical_interleaved_bloom_filter.
- See also
- raptor::hierarchical_interleaved_bloom_filter::user_bins::filename_of_user_bin
In contrast to the [seqan3::interleaved_bloom_filter][1], the result will consist of indices of user bins.
◆ membership_agent_type()
template<seqan3::data_layout data_layout_mode_ = seqan3::data_layout::uncompressed>
◆ bulk_contains()
template<seqan3::data_layout data_layout_mode_ = seqan3::data_layout::uncompressed>
template<std::ranges::forward_range value_range_t>
Determines set membership of given values, and returns the user bin indices of occurrences.
- Parameters
-
[in] | values | The values to process; must model std::ranges::forward_range. |
[in] | threshold | Report a user bin if there are at least this many hits. |
- 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::membership_agent_type for each thread.
The documentation for this class was generated from the following file: