X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/ac9e5de4c0ff479ce265da01df4d53771e096d9d..0c4a3402a57c61218bf1d1c6d8c31f5c3e1482f9:/options.cpp?ds=sidebyside diff --git a/options.cpp b/options.cpp index cf9d7b7..2c8e61d 100644 --- a/options.cpp +++ b/options.cpp @@ -13,6 +13,12 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(main); namespace opt { + // Constants + + // A sum of loads if considered null if it is less than + // load_ratio_threshold percent of the sum of loads at init. + const double load_ratio_threshold = 1e-4; + // Global options std::string program_name; int help_requested = 0;