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

Private GIT Repository
Move min_lb_iter_duration in load-balancing parameters.
[loba.git] / deployment.h
index 3cbe6ae367e98105c544fa2c263bad267a81ae64..d308ff6a651ded0fda40c72483cf9a9128bddfe6 100644 (file)
@@ -3,8 +3,10 @@
 
 #include <vector>
 
+// Deploy an application automatically, according to the global parameters
 void MY_launch_application();
 
+// Base class for deployment generators...
 class deployment_generator {
 public:
     deployment_generator();
@@ -19,6 +21,8 @@ public:
 
 private:
     struct host_parameters {
+        host_parameters(): load(0.0) { }
+
         double load;
         std::vector<int> neighbors;
     };
@@ -31,13 +35,13 @@ private:
     public: void generate();                                    \
     }
 
+DEPLOYMENT(btree);
+DEPLOYMENT(clique);
+DEPLOYMENT(hcube);
 DEPLOYMENT(line);
 DEPLOYMENT(ring);
 DEPLOYMENT(star);
-DEPLOYMENT(clique);
-DEPLOYMENT(btree);
-// DEPLOYMENT(torus);
-DEPLOYMENT(hcube);
+DEPLOYMENT(torus);
 
 #undef DEPLOYMENT