14#include <hibf/layout/layout.hpp>
18namespace seqan::hibf::layout
39 assert(bin_indices.
empty() == num_of_bins.
empty());
40 return bin_indices.
empty();
A timer with a thread-safe operator+=().
Definition timer.hpp:155
Provides seqan::hibf::sketch::hyperloglog.
Stores information of the previous level of a given IBF.
Definition data_store.hpp:33
Contains information used for the layout.
Definition data_store.hpp:25
std::vector< size_t > const * kmer_counts
The kmer counts associated with the above files used to layout user bin into technical bins.
Definition data_store.hpp:54
double false_positive_rate
The desired maximum false positive rate of the resulting index.
Definition data_store.hpp:48
std::vector< double > fpr_correction
The false positive correction based on fp_rate, num_hash_functions and requested_max_tb.
Definition data_store.hpp:77
std::vector< size_t > positions
The input is sorted and rearranged. To keep track without changing the input we store the positions.
Definition data_store.hpp:68
bool user_bins_arranged
The input is sorted and rearranged. To keep track without changing the input we store the positions.
Definition data_store.hpp:85
previous_level previous
Information about previous levels of the IBF if the algorithm is called recursively.
Definition data_store.hpp:80
std::vector< sketch::hyperloglog > const * sketches
The hyperloglog sketches of all input files to estimate their size and similarities.
Definition data_store.hpp:57
layout * hibf_layout
The layout that is built by layout::hierarchical_binning.
Definition data_store.hpp:51
std::vector< uint64_t > union_estimates
Matrix of estimates of merged bin cardinalites.
Definition data_store.hpp:83
concurrent_timer union_estimation_timer
Tracks the time the algorithm spends on estimating the union of user bins (merged bins).
Definition data_store.hpp:88
concurrent_timer rearrangement_timer
Tracks the time the algorithm spends on rearranging user bins (merged bins).
Definition data_store.hpp:91
The layout.
Definition layout.hpp:22
Provides seqan::hibf::timer.