X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/db8fd6b61aba2af810b61d8523a673c9678a608e..c3f81b26d8e8d696a2cc706d18388d8d681cc26c:/src/surf/platf_generator_private.h diff --git a/src/surf/platf_generator_private.h b/src/surf/platf_generator_private.h index db486a99a3..9b04b4433f 100644 --- a/src/surf/platf_generator_private.h +++ b/src/surf/platf_generator_private.h @@ -1,12 +1,21 @@ +/* Copyright (c) 2012, 2014. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + #ifndef SG_PLATF_GEN_PRIVATE_H #define SG_PLATF_GEN_PRIVATE_H -typedef struct { - double x, y; - int degree; - e_platf_node_kind kind; -} s_context_node_t, *context_node_t; +#include "xbt/graph.h" +#include "simgrid/platf.h" + +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); -void platf_graph_init(int node_count); +double random_pareto(double min, double max, double K, double P, double ALPHA); #endif /* SG_PLATF_GEN_PRIVATE_H */