X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/4b79356ada36bf494ce5f1a7bcc3744b9d31f2e3..98bcf878526913600093dbce941e8a9ba873f2ea:/loba_lln.cpp?ds=sidebyside diff --git a/loba_lln.cpp b/loba_lln.cpp index fa762c8..35acb26 100644 --- a/loba_lln.cpp +++ b/loba_lln.cpp @@ -17,7 +17,7 @@ void loba_lln::load_balance() listLessLoadedNeighbors.clear(); for(i=0;iget_load()< lessLoad ) + if( pneigh[i]->get_load()< lessLoad ) listLessLoadedNeighbors.push_back(i); } int nbLessLoadedNeighbors=listLessLoadedNeighbors.size();