X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/b78d5563826957045678f4c3bcfdcef6c9bfc48d..01f10aeb9d9a94f01006b4e7396711b8964f43da:/deployment.h?ds=sidebyside

diff --git a/deployment.h b/deployment.h
index 3e71df5..b3fa43a 100644
--- a/deployment.h
+++ b/deployment.h
@@ -17,10 +17,13 @@ public:
     void set_link(int host1, int host2);
 
     virtual void generate() = 0;
+    void distribute_load();
     void deploy();
 
 private:
     struct host_parameters {
+        host_parameters(): load(0.0) { }
+
         double load;
         std::vector<int> neighbors;
     };