X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3c6ccc91eba46281d4ed926bf506e27e794add67..757ea9f06e8648bf2d3c6582a0c2b6f2ab48ed26:/src/surf/maxmin.cpp diff --git a/src/surf/maxmin.cpp b/src/surf/maxmin.cpp index 0598653c25..0ea8e653b5 100644 --- a/src/surf/maxmin.cpp +++ b/src/surf/maxmin.cpp @@ -955,7 +955,7 @@ void lmm_solve(lmm_system_t sys) * * Makes var->bound equal to bound. Whenever this function is called a change is signed in the system. To * avoid false system changing detection it is a good idea to test (bound != 0) before calling it. -*/ + */ void lmm_update_variable_bound(lmm_system_t sys, lmm_variable_t var, double bound) { sys->modified = 1; @@ -973,10 +973,7 @@ int lmm_concurrency_slack(lmm_constraint_t cnstr){ return cnstr->concurrency_limit - cnstr->concurrency_current; } -/** \brief Measure the minimum concurrency slack across all constraints where var is involved - * - * \param The variable to check for - */ +/** \brief Measure the minimum concurrency slack across all constraints where the given var is involved */ int lmm_cnstrs_min_concurrency_slack(lmm_variable_t var){ int i; //FIXME MARTIN: Replace by infinite value std::numeric_limits::(max)(), or something better within Simgrid?