X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/5289609afe7ec92e6341f9219e1bfaf55df7f907..465f6a6ac2920b233da310a94fbbf055095f6eb9:/options.cpp 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;