implement flag edge-weight-updates-over-factor, to log edge weight

updates over provided x factor
This commit is contained in:
karenzshea
2016-09-12 12:16:56 -04:00
committed by Moritz Kobitzsch
parent eafe3fa928
commit 3d5a53566c
7 changed files with 103 additions and 22 deletions
+5 -1
View File
@@ -52,7 +52,11 @@ return_code parseArguments(int argc, char *argv[], contractor::ContractorConfig
"level-cache,o",
boost::program_options::value<bool>(&contractor_config.use_cached_priority)
->default_value(false),
"Use .level file to retain the contaction level for each node from the last run.");
"Use .level file to retain the contaction level for each node from the last run.")(
"edge-weight-updates-over-factor",
boost::program_options::value<double>(&contractor_config.log_edge_updates_factor)
->default_value(0.0),
"Use with `--segment-speed-file`. Provide an `x` factor, by which Extractor will log edge weights updated by more than this factor");
// hidden options, will be allowed on command line, but will not be shown to the user
boost::program_options::options_description hidden_options("Hidden options");