+
+ 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());
+ }
+
+ double sum_sent=0;
+ bool found=true;
+
+ while(found) {
+ found=false;
+ for (unsigned i = 0 ; i < pneigh.size() ; ++i) {