static int process_counter;
static double total_load_average;
+ static double load_diff_threshold;
typedef MAP_TEMPLATE<m_host_t, neighbor*> rev_neigh_type;
neigh_type neigh; // list of neighbors (do not alter
// Simulate computation loop
void compute_loop();
+ // Check for convergence
+ void convergence_check();
+
// Check if we need to stop
bool still_running();