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;
18 typedef struct s_context_edge_t {
21 s_sg_platf_link_cbarg_t link_parameters;
24 void platf_graph_init(unsigned long node_count);
26 void platf_node_connect(xbt_node_t node1, xbt_node_t node2);
28 double platf_node_distance(xbt_node_t node1, xbt_node_t node2);
30 double random_pareto(double min, double max, double K, double P, double ALPHA);
32 #endif /* SG_PLATF_GEN_PRIVATE_H */