Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Platform generation : modify some interface
[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 #include <xbt.h>
13
14 typedef enum {
15   ROUTER,
16   HOST,
17   CLUSTER
18 } e_platf_node_kind;
19
20 XBT_PUBLIC(void) platf_random_seed(unsigned long seed[6]);
21
22 XBT_PUBLIC(void) platf_graph_uniform(int node_count);
23
24 #endif              /* SG_PLATF_GEN_H */