X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/f29b38ef2a056daa14bbfda2fce78063faa773d4..f4125505064e3ff346b31ab9e48f894672e5a7a7:/process.h diff --git a/process.h b/process.h index ea35003..a301046 100644 --- a/process.h +++ b/process.h @@ -8,15 +8,20 @@ class process { public: - process(int argc, char *argv[]); + process(int argc, char* argv[]); ~process() { }; - void print_loads(e_xbt_log_priority_t logp = xbt_log_priority_info); int run(); private: communicator comm; std::vector neigh; double load; + double expected_load; + + void receive(); + void compute(); + void finalize(); + void print_loads(e_xbt_log_priority_t logp = xbt_log_priority_info); }; #endif // !PROCESS_H