X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/46ef54f8ce05841e476c3cd9d425a9c680a84882..4096be9a95ef90a463f9721817750ad84f141b0a:/options.cpp?ds=sidebyside diff --git a/options.cpp b/options.cpp index 12e1b22..a8178a9 100644 --- a/options.cpp +++ b/options.cpp @@ -1,14 +1,16 @@ -#include "options.h" - #include #include #include #include // getopt #include -#include "loba_simple.h" XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(main); +#include "loba_simple.h" +#include "loba_fairstrategy.h" + +#include "options.h" + namespace opt { // Global options @@ -45,6 +47,7 @@ namespace opt { loba_algorithms_type loba_algorithms; loba_algorithms_type::loba_algorithms_type() { + NOL_INSERT("fairstrategy", "balance with fair strategy", loba_fairstrategy); NOL_INSERT("none", "no load-balancing (for testing)", process); NOL_INSERT("simple", "balance with least loaded neighbor", loba_simple); }