]> 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 8711fca03a2d358d91af8e58f62f73b08e15f040..a301046ab8907fadd611a106fc11be0258d33166 100644 (file)
--- a/process.h
+++ b/process.h
@@ -8,7 +8,7 @@
 
 class process {
 public:
 
 class process {
 public:
-    process(int argc, char *argv[]);
+    process(int argc, charargv[]);
     ~process() { };
     int run();
 
     ~process() { };
     int run();
 
@@ -16,8 +16,11 @@ private:
     communicator comm;
     std::vector<neighbor> neigh;
     double load;
     communicator comm;
     std::vector<neighbor> neigh;
     double load;
+    double expected_load;
 
 
+    void receive();
     void compute();
     void compute();
+    void finalize();
     void print_loads(e_xbt_log_priority_t logp = xbt_log_priority_info);
 };
 
     void print_loads(e_xbt_log_priority_t logp = xbt_log_priority_info);
 };