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