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
metaxml example modifications
[simgrid.git]
/
src
/
surf
/
maxmin_private.h
diff --git
a/src/surf/maxmin_private.h
b/src/surf/maxmin_private.h
index
27c44d2
..
1798472
100644
(file)
--- a/
src/surf/maxmin_private.h
+++ b/
src/surf/maxmin_private.h
@@
-51,16
+51,17
@@
typedef struct lmm_variable {
int cnsts_number;
double weight;
double bound;
int cnsts_number;
double weight;
double bound;
+ double value;
+ void *id;
+ int index; /* FOR SDP ONLY */
+ /* \begin{For Lagrange only} */
double mu;
double new_mu;
double mu;
double new_mu;
- double value;
double df; /* Total delay of flow */
double df; /* Total delay of flow */
- void *id;
- int index;
- double (* func_f) (struct lmm_variable *var, double x); /* f */
- double (* func_fp) (struct lmm_variable *var, double x); /* f' */
+ double (* func_f) (struct lmm_variable *var, double x); /* (f) */
+ double (* func_fp) (struct lmm_variable *var, double x); /* (f') */
double (* func_fpi) (struct lmm_variable *var, double x); /* (f')^{-1} */
double (* func_fpi) (struct lmm_variable *var, double x); /* (f')^{-1} */
-
double (* func_fpip) (struct lmm_variable *var, double x); /* ((f')^{-1})'
*/
+
/* \end{For Lagrange only}
*/
} s_lmm_variable_t;
typedef struct lmm_system {
} s_lmm_variable_t;
typedef struct lmm_system {
@@
-92,4
+93,8
@@
static void lmm_cnst_free(lmm_system_t sys, lmm_constraint_t cnst);
void lmm_print(lmm_system_t sys);
void lmm_print(lmm_system_t sys);
+extern double (* func_f_def ) (lmm_variable_t , double);
+extern double (* func_fp_def ) (lmm_variable_t , double);
+extern double (* func_fpi_def )(lmm_variable_t , double);
+
#endif /* _SURF_MAXMIN_PRIVATE_H */
#endif /* _SURF_MAXMIN_PRIVATE_H */