1 /* Copyright (c) 2009, 2010. The SimGrid Team.
2 * All rights reserved. */
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. */
7 #ifndef MAXMIN_DATATYPES_H
8 #define MAXMIN_DATATYPES_H
10 /** \brief Model datatype
11 * \ingroup SURF_models
13 * Generic data structure for a model. The workstations,
14 * the CPUs and the network links are examples of models.
16 typedef struct surf_model *surf_model_t;
17 /** \brief Action datatype
18 * \ingroup SURF_actions
20 * An action is some working amount on a model.
21 * It is represented as a cost, a priority, a duration and a state.
23 typedef struct surf_action *surf_action_t;
26 typedef struct lmm_element *lmm_element_t;
27 typedef struct lmm_variable *lmm_variable_t;
28 typedef struct lmm_constraint *lmm_constraint_t;
29 typedef struct lmm_system *lmm_system_t;
31 typedef struct tmgr_history *tmgr_history_t;
32 typedef struct tmgr_trace_event *tmgr_trace_event_t;
35 #endif /* MAXMIN_DATATYPES_H */