X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8648556e63e965fc3976fae86c4cb7c44b827280..26ac669d68abd5ccb430266a6a57d1d2201827cf:/src/surf/platf_generator_private.h diff --git a/src/surf/platf_generator_private.h b/src/surf/platf_generator_private.h index 153c1bfaa9..12cfdd0e83 100644 --- a/src/surf/platf_generator_private.h +++ b/src/surf/platf_generator_private.h @@ -1,16 +1,15 @@ #ifndef SG_PLATF_GEN_PRIVATE_H #define SG_PLATF_GEN_PRIVATE_H -#include +#include "xbt/graph.h" +#include "simgrid/platf.h" -typedef struct { - double x, y; - int degree; - e_platf_node_kind kind; -} s_context_node_t, *context_node_t; - -void platf_graph_init(int node_count); +void platf_graph_init(unsigned long node_count); void platf_node_connect(xbt_node_t node1, xbt_node_t node2); +double platf_node_distance(xbt_node_t node1, xbt_node_t node2); + +double random_pareto(double min, double max, double K, double P, double ALPHA); + #endif /* SG_PLATF_GEN_PRIVATE_H */