X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/86907b33d6c8f6f749d37a7bf9bcad5e6dcc0695..76d4afa3496d7710e7548b6bca27473db7c9308c:/deployment.h diff --git a/deployment.h b/deployment.h index 2009b36..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; }; @@ -37,7 +41,7 @@ DEPLOYMENT(hcube); DEPLOYMENT(line); DEPLOYMENT(ring); DEPLOYMENT(star); -// DEPLOYMENT(torus); +DEPLOYMENT(torus); #undef DEPLOYMENT