Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
better leaking than segfaulting
[simgrid.git] / src / surf / platf_generator_private.h
1 /* Copyright (c) 2012, 2014. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef SG_PLATF_GEN_PRIVATE_H
8 #define SG_PLATF_GEN_PRIVATE_H
9
10 #include <xbt/base.h>
11
12 #include "xbt/graph.h"
13 #include "simgrid/platf.h"
14
15 XBT_PRIVATE void platf_graph_init(unsigned long node_count);
16
17 XBT_PRIVATE void platf_node_connect(xbt_node_t node1, xbt_node_t node2);
18
19 XBT_PRIVATE double platf_node_distance(xbt_node_t node1, xbt_node_t node2);
20
21 XBT_PRIVATE double random_pareto(double min, double max, double K, double P, double ALPHA);
22
23 #endif      /* SG_PLATF_GEN_PRIVATE_H */