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<neighbor> neigh;
double load;
+ double expected_load;
+
+ int ctrl_close_pending;
+ int data_close_pending;
+
+ void compute();
+ bool receive(bool wait_for_close);
+ void finalize();
+ void print_loads(e_xbt_log_priority_t logp = xbt_log_priority_info);
};
#endif // !PROCESS_H