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
+2 -1
View File
@@ -89,7 +89,8 @@ class Contractor
const std::string &geometry_filename,
const std::string &datasource_names_filename,
const std::string &datasource_indexes_filename,
const std::string &rtree_leaf_filename);
const std::string &rtree_leaf_filename,
const double log_edge_updates_factor);
};
}
}
+1
View File
@@ -73,6 +73,7 @@ struct ContractorConfig
bool use_cached_priority;
unsigned requested_num_threads;
double log_edge_updates_factor;
// A percentage of vertices that will be contracted for the hierarchy.
// Offers a trade-off between preprocessing and query time.