double mean = sum / (bound + 1);
for (unsigned i = 0 ; i < bound ; ++i) {
double transfer = mean - pneigh[i]->get_load();
- if (opt::option_x)
- transfer /= opt::option_x; // HACK!!!
+ if (opt::loba_best_divisor)
+ transfer /= opt::loba_best_divisor;
send(pneigh[i], transfer);
XBT_DEBUG("sent %g to %s", transfer, pneigh[i]->get_name());
}