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