X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/60d684a0c3b1671fbc60bc47f37eca020627dc02..976ee462f4626798ebf76ca46d13f53e10e0e28d:/src/surf/maxmin_private.h diff --git a/src/surf/maxmin_private.h b/src/surf/maxmin_private.h index dc2edc55a6..e492e6eae8 100644 --- a/src/surf/maxmin_private.h +++ b/src/surf/maxmin_private.h @@ -28,6 +28,7 @@ typedef struct lmm_constraint { /* hookup to system */ s_xbt_swag_hookup_t constraint_set_hookup; s_xbt_swag_hookup_t active_constraint_set_hookup; + s_xbt_swag_hookup_t modified_constraint_set_hookup; s_xbt_swag_hookup_t saturated_constraint_set_hookup; s_xbt_swag_t element_set; /* a list of lmm_mat_element_t */ @@ -39,12 +40,14 @@ typedef struct lmm_constraint { int shared; double usage; void *id; + int id_int; } s_lmm_constraint_t; typedef struct lmm_variable { /* hookup to system */ s_xbt_swag_hookup_t variable_set_hookup; s_xbt_swag_hookup_t saturated_variable_set_hookup; + s_xbt_swag_hookup_t modified_variable_set_hookup; s_lmm_element_t *cnsts; int cnsts_size; @@ -53,6 +56,7 @@ typedef struct lmm_variable { double bound; double value; void *id; + int id_int; /* \begin{For Lagrange only} */ double mu; double new_mu; @@ -64,14 +68,19 @@ typedef struct lmm_variable { typedef struct lmm_system { int modified; + int selective_update_active; /* flag to update partially the system only selecting changed portions */ + s_xbt_swag_t variable_set; /* a list of lmm_variable_t */ s_xbt_swag_t constraint_set; /* a list of lmm_constraint_t */ s_xbt_swag_t active_constraint_set; /* a list of lmm_constraint_t */ + s_xbt_swag_t modified_constraint_set; /* a list of modified lmm_constraint_t */ s_xbt_swag_t saturated_variable_set; /* a list of lmm_variable_t */ s_xbt_swag_t saturated_constraint_set; /* a list of lmm_constraint_t_t */ + s_xbt_swag_t modified_variable_set; /* list of modified variables used in new model CpuIM */ + xbt_mallocator_t variable_mallocator; } s_lmm_system_t;