X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/014983949544db9a324cece29a0ccc46b1e3e1f3..39724c19e7cb170379c27ca126add0b57652ee96:/deployment.h diff --git a/deployment.h b/deployment.h index 3cbe6ae..d308ff6 100644 --- a/deployment.h +++ b/deployment.h @@ -3,8 +3,10 @@ #include +// 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 neighbors; }; @@ -31,13 +35,13 @@ private: public: void generate(); \ } +DEPLOYMENT(btree); +DEPLOYMENT(clique); +DEPLOYMENT(hcube); DEPLOYMENT(line); DEPLOYMENT(ring); DEPLOYMENT(star); -DEPLOYMENT(clique); -DEPLOYMENT(btree); -// DEPLOYMENT(torus); -DEPLOYMENT(hcube); +DEPLOYMENT(torus); #undef DEPLOYMENT