X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/80a1fe1a200a4309c36598571b1f4ccb76a8788f..7293f6c6fc7326ba742f655ffc79db045da285e8:/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);