Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
this file does not exists: it breaks make dist
[simgrid.git] / examples / msg / masterslave / masterslave_platfgen.c
index f3a932c..d9d8131 100644 (file)
@@ -15,7 +15,6 @@ void labeler_1(context_edge_t edge);
 int master(int argc, char *argv[]);
 int slave(int argc, char *argv[]);
 
-
 /** Promoter function
  * Just promote each node into a host, with fixed power
  */
@@ -182,8 +181,8 @@ int main(int argc, char **argv) {
     max_tries--;
     XBT_INFO("creating links...");
     platf_graph_clear_links();
-    platf_graph_interconnect_uniform(0.15); //Unrealistic, but simple
-    XBT_INFO("done. Check connectivity...");
+    platf_graph_interconnect_uniform(0.07); //Unrealistic, but simple
+    XBT_INFO("done. Check connectedness...");
     connected = platf_graph_is_connected();
     XBT_INFO("Is it connected : %s", connected ? "yes" : (max_tries ? "no, retrying" : "no"));
   } while(!connected && max_tries);