Chopper
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
sizes.cpp File Reference
#include <algorithm>
#include <atomic>
#include <cassert>
#include <cinttypes>
#include <cmath>
#include <cstddef>
#include <filesystem>
#include <fstream>
#include <functional>
#include <iomanip>
#include <mutex>
#include <numeric>
#include <optional>
#include <random>
#include <stdexcept>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include <chopper/layout/input.hpp>
#include <hibf/build/build_data.hpp>
#include <hibf/config.hpp>
#include <hibf/contrib/robin_hood.hpp>
#include <hibf/layout/compute_fpr_correction.hpp>
#include <hibf/layout/graph.hpp>
#include <hibf/sketch/hyperloglog.hpp>
#include "compute_ibf_size.hpp"
#include "shared.hpp"

Classes

struct  ibf_stats
 
struct  per_level_stats
 

Functions

void compute_kmers (robin_hood::unordered_flat_set< uint64_t > &kmers, seqan::hibf::build::build_data const &data, seqan::hibf::layout::layout::user_bin const &record)
 
size_t hierarchical_stats (std::vector< ibf_stats > &stats, robin_hood::unordered_flat_set< uint64_t > &parent_kmers, seqan::hibf::layout::graph::node const &current_node, seqan::hibf::build::build_data &data, size_t const current_hibf_level)
 
size_t hierarchical_stats (std::vector< ibf_stats > &stats, seqan::hibf::layout::graph::node const &root_node, seqan::hibf::build::build_data &data)
 
void execute_general_stats (config const &cfg)
 
void execute_sizes (config const &cfg)
 

Function Documentation

◆ compute_kmers()

void compute_kmers ( robin_hood::unordered_flat_set< uint64_t > &  kmers,
seqan::hibf::build::build_data const &  data,
seqan::hibf::layout::layout::user_bin const &  record 
)

◆ execute_general_stats()

void execute_general_stats ( config const &  cfg)

◆ execute_sizes()

void execute_sizes ( config const &  cfg)

◆ hierarchical_stats() [1/2]

size_t hierarchical_stats ( std::vector< ibf_stats > &  stats,
robin_hood::unordered_flat_set< uint64_t > &  parent_kmers,
seqan::hibf::layout::graph::node const &  current_node,
seqan::hibf::build::build_data &  data,
size_t const  current_hibf_level 
)

◆ hierarchical_stats() [2/2]

size_t hierarchical_stats ( std::vector< ibf_stats > &  stats,
seqan::hibf::layout::graph::node const &  root_node,
seqan::hibf::build::build_data &  data 
)