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

diff --git a/deployment.h b/deployment.h
index cba191b..d308ff6 100644
--- a/deployment.h
+++ b/deployment.h
@@ -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;
     };