X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e93baa98dc235c0aee125a6a2ad7c300fb92645c..9c0ec517fbd653a4df3834aead473da75a1695a5:/include/simgrid/platf_generator.h diff --git a/include/simgrid/platf_generator.h b/include/simgrid/platf_generator.h index 963603d34e..767fe6e6da 100644 --- a/include/simgrid/platf_generator.h +++ b/include/simgrid/platf_generator.h @@ -24,9 +24,11 @@ typedef struct s_context_node_t { double x, y; int degree; e_platf_node_kind kind; + int connect_checked; union { s_sg_platf_host_cbarg_t host_parameters; s_sg_platf_cluster_cbarg_t cluster_parameters; + char* router_id; }; } s_context_node_t, *context_node_t; @@ -57,6 +59,8 @@ XBT_PUBLIC(void) platf_graph_interconnect_barabasi(void); XBT_PUBLIC(int) platf_graph_is_connected(void); +XBT_PUBLIC(void) platf_graph_clear_links(void); + XBT_PUBLIC(void) platf_graph_promote_to_host(context_node_t node, sg_platf_host_cbarg_t parameters); XBT_PUBLIC(void) platf_graph_promote_to_cluster(context_node_t node, sg_platf_cluster_cbarg_t parameters);