Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Added field intial_bound to lmm_constraint_t and lmm_variable_t. Needed
[simgrid.git] / src / surf / maxmin_private.h
index 7fb0c39..20480d0 100644 (file)
@@ -33,6 +33,7 @@ typedef struct lmm_constraint {
   s_xbt_swag_t element_set;    /* a list of lmm_mat_element_t */
   s_xbt_swag_t active_element_set;     /* a list of lmm_mat_element_t */
   double bound;
+  double initial_bound;
   double remaining;
   int shared;
   double usage;
@@ -49,8 +50,10 @@ typedef struct lmm_variable {
   int cnsts_number;
   double weight;
   double bound;
+  double initial_bound;
   double value;
   void *id;
+  int index;
 } s_lmm_variable_t;
 
 typedef struct lmm_system {
@@ -80,4 +83,6 @@ typedef struct lmm_system {
 static void lmm_var_free(lmm_system_t sys, lmm_variable_t var);
 static void lmm_cnst_free(lmm_system_t sys, lmm_constraint_t cnst);
 
+void lmm_print(lmm_system_t sys);
+
 #endif                         /* _SURF_MAXMIN_PRIVATE_H */