A
lgorithmique
N
umérique
D
istribuée
Private GIT Repository
projects
/
loba.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a301046ab8907fadd611a106fc11be0258d33166
[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
int run();
14
15
private:
16
communicator comm;
17
std::vector<neighbor> neigh;
18
double load;
19
double expected_load;
20
21
void receive();
22
void compute();
23
void finalize();
24
void print_loads(e_xbt_log_priority_t logp = xbt_log_priority_info);
25
};
26
27
#endif // !PROCESS_H
28
29
// Local variables:
30
// mode: c++
31
// End: