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

Private GIT Repository
Use git diff instead of diff-index for setlocalversion.
[loba.git] / deployment.h
index d308ff6a651ded0fda40c72483cf9a9128bddfe6..e1e0d92c33d551046c7ca51aa8dffd68123c7436 100644 (file)
@@ -10,6 +10,7 @@ void MY_launch_application();
 class deployment_generator {
 public:
     deployment_generator();
+    virtual ~deployment_generator() { }
 
     size_t size() const { return hosts.size(); }
     void set_load(int host, double load);
@@ -17,6 +18,7 @@ public:
     void set_link(int host1, int host2);
 
     virtual void generate() = 0;
+    void distribute_load();
     void deploy();
 
 private: