X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/51909edd89ccd195ba335606743a650807123999..24d1e52d7fe26616e3bee87041acffe889aa4adc:/loba_fairstrategy.cpp?ds=inline diff --git a/loba_fairstrategy.cpp b/loba_fairstrategy.cpp index 5530f5a..4054729 100644 --- a/loba_fairstrategy.cpp +++ b/loba_fairstrategy.cpp @@ -6,14 +6,11 @@ XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(loba); void loba_fairstrategy::load_balance() { - const double delta = 0.001; - pneigh_sort_by_load(std::greater()); - print_loads_p(false, xbt_log_priority_debug); + const double delta = 0.001; bool found = true; - while (found) { found = false; for (unsigned i = 0 ; i < pneigh.size() ; ++i) {