-#include "loba_fairstrategy.h"
#include <algorithm>
#include <xbt/log.h>
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(loba);
+#include "loba_fairstrategy.h"
+
/* simple version:
* load balance with a least-loaded neighbor,
* without breaking the ping-pong condition
std::sort(pneigh.begin(),pneigh.end(),compare());
- //print_loads();
-
- INFO0("list voisins");
- for(unsigned i=0;i< pneigh.size() ; ++i) {
- INFO2("%s %f ", pneigh[i]->get_name(), pneigh[i]->get_load());
- }
+ print_loads_p();
double sum_sent=0;
bool found=true;