Skip to content

Commit

Permalink
[FEATURE] Allow a --relaxed-fpr to reduce the memory footprint.
Browse files Browse the repository at this point in the history
  • Loading branch information
smehringer committed Oct 26, 2023
1 parent 2bb9960 commit b0be852
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/set_up_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ void set_up_parser(sharg::parser & parser, configuration & config)
"The false positive rate you aim for when building the HIBF from the resulting layout. "
"This parameter is needed to correctly estimate the index size when computing the layout."});

parser.add_option(
config.hibf_config.relaxed_fpr,
sharg::config{.short_id = '\0',
.long_id = "relaxed-fpr",
.description =
"The relaxed false positive rate (fpr) for parts that are not critical for the maximum fpr. "
"Choosing a higher relaxed FPR can lower the memory requirement but increases the runtime. "
"Experiments show that the decrease in memory is significant while the the runtime suffers "
"only slightly. We still guarantee that we never exceed the maximum fpr (--fpr)."});

parser.add_option(
config.output_filename,
sharg::config{.short_id = '\0', .long_id = "output", .description = "A file name for the resulting layout."});
Expand Down

0 comments on commit b0be852

Please sign in to comment.