X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/4002ef2864a3fec23e61f8fcaa052373283c430c..446befde6728fa65bc0170a4f65e8e34d09316f1:/deployment.h diff --git a/deployment.h b/deployment.h index d308ff6..e1e0d92 100644 --- a/deployment.h +++ b/deployment.h @@ -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: