Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
80a3390891b7ce192586d7363df6536883a7b3d4
[simgrid.git] / src / surf / platf_generator_private.h
1 #ifndef SG_PLATF_GEN_PRIVATE_H
2 #define SG_PLATF_GEN_PRIVATE_H
3
4 #include <xbt/graph.h>
5
6 typedef struct {
7   unsigned long id;
8   double x, y;
9   int degree;
10   e_platf_node_kind kind;
11 } s_context_node_t, *context_node_t;
12
13 void platf_graph_init(unsigned long node_count);
14
15 void platf_node_connect(xbt_node_t node1, xbt_node_t node2);
16
17 double platf_node_distance(xbt_node_t node1, xbt_node_t node2);
18
19 double random_pareto(double min, double max, double K, double P, double ALPHA);
20
21 #endif      /* SG_PLATF_GEN_PRIVATE_H */