Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Platform generation: add the function to put into Surf the generated platform
[simgrid.git] / include / simgrid / platf_generator.h
index b1ce6c8..38476fc 100644 (file)
@@ -32,6 +32,7 @@ typedef struct s_context_node_t {
 
 typedef struct s_context_edge_t {
   unsigned long id;
+  double length;
   int labeled;
   s_sg_platf_link_cbarg_t link_parameters;
 } s_context_edge_t, *context_edge_t;
@@ -65,6 +66,8 @@ XBT_PUBLIC(void) platf_graph_labeler(platf_labeler_cb_t labeler_callback);
 XBT_PUBLIC(void) platf_do_promote(void);
 XBT_PUBLIC(void) platf_do_label(void);
 
+XBT_PUBLIC(void) platf_generate(void);
+
 // WARNING : Only for debbugging ; should be removed when platform
 // generation works correctly
 XBT_PUBLIC(xbt_graph_t) platf_graph_get(void);