X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/28a30c9d25c9555dd21935653d2386653b0f3fe8..3cd6600dbcb87137c7adde8e4e310aefaea2a2e7:/process.h diff --git a/process.h b/process.h index ff8b751..d2f1229 100644 --- a/process.h +++ b/process.h @@ -87,6 +87,7 @@ private: static int process_counter; static double total_load_average; + static double load_diff_threshold; typedef MAP_TEMPLATE rev_neigh_type; neigh_type neigh; // list of neighbors (do not alter @@ -159,6 +160,9 @@ private: // Simulate computation loop void compute_loop(); + // Check for convergence + void convergence_check(); + // Check if we need to stop bool still_running();