Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
4c40f51fe7506368aa371ccd9d480ea5b27cbed0
[simgrid.git] / include / simgrid / platf_generator.h
1
2 /* platf_generator.h - Public interface to the SimGrid platforms generator  */
3
4 /* Copyright (c) 2004-2012. The SimGrid Team. All rights reserved.          */
5
6 /* This program is free software; you can redistribute it and/or modify it
7  * under the terms of the license (GNU LGPL) which comes with this package. */
8
9 #ifndef SG_PLATF_GEN_H
10 #define SG_PLATF_GEN_H
11
12 typedef enum {
13   ROUTER,
14   HOST,
15   CLUSTER
16 } e_platf_node_kind;
17
18 typedef enum {
19   UNIFORM,
20   HEAVY_TAILED
21 } e_platf_placement;
22
23 void platf_random_seed(unsigned long seed[6]);
24
25 void platf_graph_init(int node_count, e_platf_placement placement);
26
27 #endif