Skip to content

Commit

Permalink
Merge pull request #279 from eseiler/feature/dynamic
Browse files Browse the repository at this point in the history
[FEATURE] Add empty-bin-fraction to options
  • Loading branch information
eseiler authored Jan 30, 2025
2 parents 60c93f4 + 75b80f7 commit 8df0a3a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/set_up_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,17 @@ void set_up_parser(sharg::parser & parser, configuration & config)
.default_message = "≈sqrt(#samples)",
.advanced = true});

parser.add_option(
config.hibf_config.empty_bin_fraction,
sharg::config{
.short_id = '\0',
.long_id = "empty-bin-fraction",
.description =
"Sets the percentage of empty bins in the layout. Certain applications, e.g., dynamic indices, require "
"empty technical bins in the layout. This option allows you to specify the fraction of tmax that "
"should be empty bins. The empty bins will be present in each IBF of the generated layout.",
.advanced = true});

parser.add_option(
config.hibf_config.number_of_hash_functions,
sharg::config{.short_id = '\0',
Expand Down

0 comments on commit 8df0a3a

Please sign in to comment.