X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/80a1fe1a200a4309c36598571b1f4ccb76a8788f..68a5f658c68d3637a503f608394d398d1ba3855f:/process.h?ds=sidebyside diff --git a/process.h b/process.h index 57ece07..8a9e74c 100644 --- a/process.h +++ b/process.h @@ -153,6 +153,9 @@ private: // Returns the sum of "to_send" for all neighbors. double get_sum_of_to_send() const; + // Compute load_to_send (for data_send), subject to the execution parameters + static double compute_load_to_send(double desired); + // Send procedures void ctrl_send(neighbor& nb); void data_send(neighbor& nb);