1 #ifndef SG_PLATF_GEN_PRIVATE_H
2 #define SG_PLATF_GEN_PRIVATE_H
5 #include "simgrid/platf.h"
7 typedef struct s_context_node_t {
11 e_platf_node_kind kind;
13 s_sg_platf_host_cbarg_t host_parameters;
14 s_sg_platf_cluster_cbarg_t cluster_parameters;
16 } s_context_node_t, *context_node_t;
18 typedef struct s_context_edge_t {
20 s_sg_platf_link_cbarg_t link_parameters;
21 } s_context_edge_t, *context_edge_t;
23 void platf_graph_init(unsigned long node_count);
25 void platf_node_connect(xbt_node_t node1, xbt_node_t node2);
27 double platf_node_distance(xbt_node_t node1, xbt_node_t node2);
29 double random_pareto(double min, double max, double K, double P, double ALPHA);
31 #endif /* SG_PLATF_GEN_PRIVATE_H */