]> AND Private Git Repository - loba.git/blobdiff - process.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Wip++...
[loba.git] / process.h
index ea350038a168e92199ac5bb35ea90952596184a5..586da5525059896f011e192b3edee2ed7897d7b1 100644 (file)
--- a/process.h
+++ b/process.h
@@ -8,15 +8,19 @@
 
 class process {
 public:
 
 class process {
 public:
-    process(int argc, char *argv[]);
+    process(int argc, charargv[]);
     ~process() { };
     ~process() { };
-    void print_loads(e_xbt_log_priority_t logp = xbt_log_priority_info);
     int run();
 
 private:
     communicator comm;
     std::vector<neighbor> neigh;
     double load;
     int run();
 
 private:
     communicator comm;
     std::vector<neighbor> 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
 };
 
 #endif // !PROCESS_H