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

Private GIT Repository
Use std::vector and stl algorithms for cost_func.
[loba.git] / deployment.h
index 3e71df584efa6abaa0db0c9186f0262e385e42bb..d308ff6a651ded0fda40c72483cf9a9128bddfe6 100644 (file)
@@ -21,6 +21,8 @@ public:
 
 private:
     struct host_parameters {
 
 private:
     struct host_parameters {
+        host_parameters(): load(0.0) { }
+
         double load;
         std::vector<int> neighbors;
     };
         double load;
         std::vector<int> neighbors;
     };