X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/4b79356ada36bf494ce5f1a7bcc3744b9d31f2e3..68a5f658c68d3637a503f608394d398d1ba3855f:/loba_lln.cpp?ds=inline 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();