X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/51909edd89ccd195ba335606743a650807123999..48de9544b7eac2f9d40ea34a42c1d1a3d7ccbbfe:/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) {