Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
can't see why these functions are considered more public than the other ones...
[simgrid.git] / src / include / surf / maxmin.h
index b1524f5..a9cfc6f 100644 (file)
@@ -75,7 +75,7 @@ void lmm_update_variable_latency(lmm_system_t sys, lmm_variable_t var,
 
 
 
-XBT_PUBLIC(void) lmm_update_variable_weight(lmm_system_t sys, lmm_variable_t var,
+void lmm_update_variable_weight(lmm_system_t sys, lmm_variable_t var,
                                double weight);
 double lmm_get_variable_weight(lmm_variable_t var);
 
@@ -85,7 +85,7 @@ void lmm_update_constraint_bound(lmm_system_t sys, lmm_constraint_t cnst,
 int lmm_constraint_used(lmm_system_t sys, lmm_constraint_t cnst);
 
 
-XBT_PUBLIC(void) lmm_solve(lmm_system_t sys);
+void lmm_solve(lmm_system_t sys);
 
 #ifdef HAVE_SDP
 void sdp_solve(lmm_system_t sys);
@@ -101,13 +101,17 @@ void lagrange_dicotomi_solve(lmm_system_t sys);
  * Default functions associated to the chosen protocol. When
  * using the lagrangian approach.
  */
-double (* func_fpi_def ) (lmm_variable_t , double);
 
+void lmm_set_default_protocol_function(double (* func_f)  (lmm_variable_t var, double x),
+                                      double (* func_fp) (lmm_variable_t var, double x),
+                                      double (* func_fpi)(lmm_variable_t var, double x));
 
-void lmm_set_default_protocol_functions(double (* func_fpi)  (lmm_variable_t var, double x));
-
+double func_reno_f  (lmm_variable_t var, double x);
+double func_reno_fp (lmm_variable_t var, double x);
 double func_reno_fpi(lmm_variable_t var, double x);
 
+double func_vegas_f  (lmm_variable_t var, double x);
+double func_vegas_fp (lmm_variable_t var, double x);
 double func_vegas_fpi(lmm_variable_t var, double x);