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

Private GIT Repository
Add option "-v" (verbose).
[loba.git] / neighbor.cpp
1 #include "neighbor.h"
2
3 #include <limits>
4 #include <msg/msg.h>
5
6 neighbor::neighbor(const char* hostname)
7     : host((hostdata* )MSG_host_get_data(MSG_get_host_by_name(hostname)))
8     , load(std::numeric_limits<double>::infinity())
9     , debt(0.0)
10     , to_send(0.0)
11 {
12 }
13
14 neighbor::~neighbor()
15 {
16 }