X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/28a30c9d25c9555dd21935653d2386653b0f3fe8..861c9cbf206b74f2939f3d2fde70e054ad6fbd92:/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();