Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
msg_simix alpha. All functions implemented.
[simgrid.git] / src / surf / maxmin_private.h
index 7fb0c39..034a252 100644 (file)
@@ -33,6 +33,8 @@ 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 lambda;
+  double new_lambda;
   double remaining;
   int shared;
   double usage;
@@ -49,8 +51,11 @@ typedef struct lmm_variable {
   int cnsts_number;
   double weight;
   double bound;
+  double mu;
+  double new_mu;
   double value;
   void *id;
+  int index;
 } s_lmm_variable_t;
 
 typedef struct lmm_system {
@@ -80,4 +85,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 */