Raptor 4.0.0-rc.1
A fast and space-efficient pre-filter
Loading...
Searching...
No Matches
raptor::update_arguments Struct Reference
+ Collaboration diagram for raptor::update_arguments:

Public Member Functions

void print_stats () const
 Prints the number of inserted user bins and of the rebuilds they required to stderr.
 

Public Attributes

std::filesystem::path bin_file {}
 The --insert argument: a single sequence file, or a file containing file names.
 
std::vector< std::vector< std::string > > bin_path {}
 
bool disable_partial_rebuild {false}
 Whether to replace every partial rebuild by a full one.
 
double fpr {0.05}
 
size_t full_rebuilds {}
 The number of full rebuilds performed by raptor::insert_user_bin.
 
std::filesystem::path index_file {}
 The index to update. Left untouched; the result is written to out_path.
 
bool is_hibf {false}
 
std::filesystem::path out_path {}
 
size_t partial_rebuilds {}
 The number of partial rebuilds performed by raptor::insert_user_bin.
 
uint8_t parts {1u}
 
seqan3::shape shape {seqan3::ungapped{20u}}
 
uint8_t shape_size {shape.size()}
 
uint8_t shape_weight {shape.count()}
 
bool stats {false}
 Whether to print a summary of the insertion to stderr, see raptor::update_arguments::print_stats.
 
uint8_t threads {1u}
 
std::vector< size_t > user_bins_to_delete {}
 The IDs of the user bins to delete.
 
std::vector< std::vector< std::string > > user_bins_to_insert {}
 The user bins to insert, one entry per user bin.
 
uint32_t window_size {20u}
 

Member Data Documentation

◆ disable_partial_rebuild

bool raptor::update_arguments::disable_partial_rebuild {false}

Whether to replace every partial rebuild by a full one.

A full rebuild yields a better layout, but has to process all user bins instead of only those of one subtree.

◆ full_rebuilds

size_t raptor::update_arguments::full_rebuilds {}
mutable

The number of full rebuilds performed by raptor::insert_user_bin.

At most one: a full rebuild covers all user bins that have not been inserted yet.


The documentation for this struct was generated from the following files:
Hide me