SimGrid  3.14.159
Versatile Simulation of Distributed Systems
lmm_constraint Struct Reference

Detailed Description

LMM constraint Each constraint contains several partially overlapping logical sets of elements:

  • Disabled elements which variable's weight is zero. This variables are not at all processed by LMM, but eventually the corresponding action will enable it (at least this is the idea).
  • Enabled elements which variable's weight is non-zero. They are utilized in some LMM functions.
  • Active elements which variable's weight is non-zero (i.e. it is enabled) AND its element value is non-zero. LMM_solve iterates over active elements during resolution, dynamically making them active or unactive.

#include <maxmin_private.hpp>

Public Attributes

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 enabled_element_set
 
s_xbt_swag_t disabled_element_set
 
s_xbt_swag_t active_element_set
 
double remaining
 
double usage
 
double bound
 
int concurrency_limit
 
int concurrency_current
 
int concurrency_maximum
 
int sharing_policy
 
voidid
 
int id_int
 
double lambda
 
double new_lambda
 
lmm_constraint_light_t cnst_light
 

Member Data Documentation

§ constraint_set_hookup

s_xbt_swag_hookup_t lmm_constraint::constraint_set_hookup

§ active_constraint_set_hookup

s_xbt_swag_hookup_t lmm_constraint::active_constraint_set_hookup

§ modified_constraint_set_hookup

s_xbt_swag_hookup_t lmm_constraint::modified_constraint_set_hookup

§ saturated_constraint_set_hookup

s_xbt_swag_hookup_t lmm_constraint::saturated_constraint_set_hookup

§ enabled_element_set

s_xbt_swag_t lmm_constraint::enabled_element_set

§ disabled_element_set

s_xbt_swag_t lmm_constraint::disabled_element_set

§ active_element_set

s_xbt_swag_t lmm_constraint::active_element_set

§ remaining

double lmm_constraint::remaining

§ usage

double lmm_constraint::usage

§ bound

double lmm_constraint::bound

§ concurrency_limit

int lmm_constraint::concurrency_limit

§ concurrency_current

int lmm_constraint::concurrency_current

§ concurrency_maximum

int lmm_constraint::concurrency_maximum

§ sharing_policy

int lmm_constraint::sharing_policy

§ id

void* lmm_constraint::id

§ id_int

int lmm_constraint::id_int

§ lambda

double lmm_constraint::lambda

§ new_lambda

double lmm_constraint::new_lambda

§ cnst_light

lmm_constraint_light_t lmm_constraint::cnst_light

The documentation for this struct was generated from the following file: