14#include <hibf/layout/layout.hpp>
18namespace seqan::hibf::layout
39 assert(bin_indices.
empty() == num_of_bins.
empty());
40 return bin_indices.
empty();
96 void validate()
const;
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:51
std::vector< double > fpr_correction
The false positive correction based on fp_rate, num_hash_functions and requested_max_tb.
Definition data_store.hpp:76
double relaxed_fpr_correction
The correction factor for merged bins which are allowed to have a relaxed FPR.
Definition data_store.hpp:79
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:65
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:87
previous_level previous
Information about previous levels of the IBF if the algorithm is called recursively.
Definition data_store.hpp:82
std::vector< sketch::hyperloglog > const * sketches
The hyperloglog sketches of all input files to estimate their size and similarities.
Definition data_store.hpp:54
layout * hibf_layout
The layout that is built by layout::hierarchical_binning.
Definition data_store.hpp:48
std::vector< uint64_t > union_estimates
Matrix of estimates of merged bin cardinalites.
Definition data_store.hpp:85
concurrent_timer union_estimation_timer
Tracks the time the algorithm spends on estimating the union of user bins (merged bins).
Definition data_store.hpp:90
concurrent_timer rearrangement_timer
Tracks the time the algorithm spends on rearranging user bins (merged bins).
Definition data_store.hpp:93
The layout.
Definition layout.hpp:22
Provides seqan::hibf::timer.