6 void MY_launch_application();
8 class deployment_generator {
10 deployment_generator();
12 size_t size() const { return hosts.size(); }
13 void set_load(int host, double load);
14 void set_neighbor(int host, int neighbor);
15 void set_link(int host1, int host2);
17 virtual void generate() = 0;
21 struct host_parameters {
23 std::vector<int> neighbors;
26 std::vector<host_parameters> hosts;
29 #define DEPLOYMENT(name) \
30 class deployment_ ## name: public deployment_generator { \
31 public: void generate(); \
44 #endif // !DEPLOYMENT_H