X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/4b79356ada36bf494ce5f1a7bcc3744b9d31f2e3..48b49c2ca6573b31386bd5afd4e68304c740e8ec:/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();