]> AND Private Git Repository - loba.git/blobdiff - options.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Cosmetics: reindent and remove unused variables.
[loba.git] / options.cpp
index 12e1b22e28156d95faa12c9a64e650508b96305b..a8178a9e6c8231237b393afbdae542580a3ec9ad 100644 (file)
@@ -1,14 +1,16 @@
-#include "options.h"
-
 #include <iomanip>
 #include <iostream>
 #include <sstream>
 #include <unistd.h>             // getopt
 #include <xbt/log.h>
-#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);
     }