X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/f29b38ef2a056daa14bbfda2fce78063faa773d4..6f5ec5fdc42f96a8fe95f4b846b163d4dc92e0c8:/process.h diff --git a/process.h b/process.h index ea35003..586da55 100644 --- a/process.h +++ b/process.h @@ -8,15 +8,19 @@ 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 print_loads(e_xbt_log_priority_t logp = xbt_log_priority_info); }; #endif // !PROCESS_H