process(int argc, char* argv[]);
virtual ~process();
+ double get_load() const { return load; }
+
int run();
protected:
bool may_receive; // true if there remains neighbors to listen for
bool finalizing; // true when finalize() is running
- unsigned iter; // counter of iterations
+ unsigned lb_iter; // counter of load-balancing iterations
+ unsigned comp_iter; // counter of computation iterations
double prev_load_broadcast; // used to ensure that we do not send
// a same information messages