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

Private GIT Repository
Wip++...
[loba.git] / neighbor.cpp
1 #include "neighbor.h"
2
3 neighbor::neighbor(const char* hostname)
4     : name(hostname)
5     , ctrl_mbox(hostname)
6     , data_mbox(hostname)
7     , load(std::numeric_limits<double>::infinity())
8     , debt(0.0)
9 {
10     ctrl_mbox += "_ctrl";
11     data_mbox += "_data";
12 }
13
14 neighbor::~neighbor()
15 {
16 }