Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Now compiling. Sorry Arnaud.
[simgrid.git] / src / surf / maxmin_private.h
index 20480d0..5e9e453 100644 (file)
@@ -33,7 +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 initial_bound;
+  double lambda;
+  double new_lambda;
   double remaining;
   int shared;
   double usage;
@@ -50,10 +51,17 @@ typedef struct lmm_variable {
   int cnsts_number;
   double weight;
   double bound;
-  double initial_bound;
+  double mu;
+  double new_mu;
   double value;
+  double df; /* Total delay of flow */
   void *id;
   int index;
+  double (* func_f)    (struct lmm_variable *, double);  /* f            */
+  double (* func_fp)   (struct lmm_variable *, double);  /* f'           */
+  double (* func_fpi)  (struct lmm_variable *, double);  /* (f')^{-1}    */
+  double (* func_fpip) (struct lmm_variable *, double);  /* ((f')^{-1})' */
+  double func_fi;
 } s_lmm_variable_t;
 
 typedef struct lmm_system {