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