A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
document how to react when stuff break during the upgrade
[simgrid.git]
/
src
/
surf
/
platf_generator_private.h
diff --git
a/src/surf/platf_generator_private.h
b/src/surf/platf_generator_private.h
index 77bba79d72aee3734d665d3ae016dd6e72ded4c6..12cfdd0e8311ce0db4fa3c36c6e76a6a114e9060 100644
(file)
--- a/
src/surf/platf_generator_private.h
+++ b/
src/surf/platf_generator_private.h
@@
-1,17
+1,15
@@
#ifndef SG_PLATF_GEN_PRIVATE_H
#define SG_PLATF_GEN_PRIVATE_H
#ifndef SG_PLATF_GEN_PRIVATE_H
#define SG_PLATF_GEN_PRIVATE_H
-#include <xbt/graph.h>
+#include "xbt/graph.h"
+#include "simgrid/platf.h"
-typedef struct {
- unsigned long id;
- 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);
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 */
#endif /* SG_PLATF_GEN_PRIVATE_H */