A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lmm: rename some fields for clarity
[simgrid.git]
/
src
/
kernel
/
lmm
/
maxmin.hpp
diff --git
a/src/kernel/lmm/maxmin.hpp
b/src/kernel/lmm/maxmin.hpp
index
8f91eca
..
fa5332d
100644
(file)
--- a/
src/kernel/lmm/maxmin.hpp
+++ b/
src/kernel/lmm/maxmin.hpp
@@
-284,13
+284,13
@@
public:
* any given time (essentially for tracing)*/
s4u::Link::SharingPolicy sharing_policy_;
* any given time (essentially for tracing)*/
s4u::Link::SharingPolicy sharing_policy_;
- int
id_int_;
+ int
rank_; // Only used in debug messages to identify the constraint
double lambda_;
double new_lambda_;
ConstraintLight* cnst_light_;
private:
double lambda_;
double new_lambda_;
ConstraintLight* cnst_light_;
private:
- static int
Global_debug_id_;
+ static int
next_rank_; // To give a separate rank_ to each contraint
int concurrency_limit_; /* The maximum number of variables that may be enabled at any time (stage variables if
* necessary) */
void* id_;
int concurrency_limit_; /* The maximum number of variables that may be enabled at any time (stage variables if
* necessary) */
void* id_;
@@
-386,7
+386,7
@@
public:
double value_;
short int concurrency_share_; /* The maximum number of elements that variable will add to a constraint */
resource::Action* id_;
double value_;
short int concurrency_share_; /* The maximum number of elements that variable will add to a constraint */
resource::Action* id_;
- int
id_int_;
+ int
rank_; // Only used in debug messages to identify the variable
unsigned visited_; /* used by System::update_modified_set() */
/* \begin{For Lagrange only} */
double mu_;
unsigned visited_; /* used by System::update_modified_set() */
/* \begin{For Lagrange only} */
double mu_;
@@
-394,7
+394,7
@@
public:
/* \end{For Lagrange only} */
private:
/* \end{For Lagrange only} */
private:
- static int
Global_debug_id_;
+ static int
next_rank_; // To give a separate rank_ to each variable
};
inline void Element::make_active()
};
inline void Element::make_active()