Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Platform generation : Add 2 topology setup functions
[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 random_pareto(double min, double max, double K, double P, double ALPHA);
18
19 #endif      /* SG_PLATF_GEN_PRIVATE_H */