+* Remove usage of opt::option_x in loba_besteffort.cpp and loba_2besteffort.cpp
+ Either simply remove it, or change it to a real option.
+
* Support heterogeneous platforms?
Not sure yet.
Should be doable if each process also sends its speed to its neighbors.
// don't continue if get_load() <= mean, or pneigh[i]->get_load >= mean
if (transfer <= 0.0)
break;
+ if (opt::option_x)
+ transfer /= opt::option_x; // HACK!!!
send(pneigh[i], transfer);
XBT_DEBUG("sent %g to %s", transfer, pneigh[i]->get_name());
}
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!!!
send(pneigh[i], transfer);
XBT_DEBUG("sent %g to %s", transfer, pneigh[i]->get_name());
}