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

Private GIT Repository
Initial commit.
[loba.git] / process.h
1 #ifndef PROCESS_H
2 #define PROCESS_H
3
4 #include <vector>
5 #include <xbt/log.h>
6 #include "communicator.h"
7 #include "neighbor.h"
8
9 class process {
10 public:
11     process(int argc, char *argv[]);
12     ~process() { };
13     void print_loads(e_xbt_log_priority_t logp = xbt_log_priority_info);
14     int run();
15
16 private:
17     communicator comm;
18     std::vector<neighbor> neigh;
19     double load;
20 };
21
22 #endif // !PROCESS_H
23
24 // Local variables:
25 // mode: c++
26 // End: