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