+FactorSet NetworkModelFactors::cfg_latency_factor("network/latency-factor");
+FactorSet NetworkModelFactors::cfg_bandwidth_factor("network/bandwidth-factor");
+
+double NetworkModelFactors::get_bandwidth_factor() const
+{
+ xbt_assert(not bw_factor_cb_,
+ "Cannot access the global bandwidth factor since a callback is used. Please go for the advanced API.");
+
+ if (not cfg_bandwidth_factor.is_initialized())
+ cfg_bandwidth_factor.parse(cfg_bandwidth_factor_str.get());
+
+ return cfg_bandwidth_factor(0);
+}
+
+double NetworkModelFactors::get_latency_factor() const