X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/940de22d7f2af82d58be3e886e6bc22608b4d8ec..265e908745398dd4e9cc55187aa267650468c57c:/src/kernel/lmm/maxmin.hpp diff --git a/src/kernel/lmm/maxmin.hpp b/src/kernel/lmm/maxmin.hpp index c64d4d68c3..f5006fcb42 100644 --- a/src/kernel/lmm/maxmin.hpp +++ b/src/kernel/lmm/maxmin.hpp @@ -6,14 +6,15 @@ #ifndef SURF_MAXMIN_HPP #define SURF_MAXMIN_HPP +#include "simgrid/kernel/resource/Action.hpp" #include "src/internal_config.h" -#include "src/kernel/resource/Action.hpp" #include "src/surf/surf_interface.hpp" #include "surf/surf.hpp" #include "xbt/asserts.h" #include "xbt/mallocator.h" #include "xbt/misc.h" #include "xbt/utility.hpp" + #include #include #include @@ -138,10 +139,10 @@ namespace lmm { * @brief Solve the lmm system * @param sys The lmm system to solve */ -XBT_PUBLIC void lmm_solve(lmm_system_t sys); +XBT_PUBLIC void lmm_solve(lmm::System* sys); -XBT_PUBLIC void lagrange_solve(lmm_system_t sys); -XBT_PUBLIC void bottleneck_solve(lmm_system_t sys); +XBT_PUBLIC void lagrange_solve(lmm::System* sys); +XBT_PUBLIC void bottleneck_solve(lmm::System* sys); /** Default functions associated to the chosen protocol. When using the lagrangian approach. */ @@ -600,9 +601,9 @@ public: &Constraint::saturated_constraint_set_hook>> saturated_constraint_set; - simgrid::kernel::resource::ActionLmmListPtr keep_track; + simgrid::kernel::resource::Action::ModifiedSet* modified_set_ = nullptr; - void (*solve_fun)(lmm_system_t self); + void (*solve_fun)(lmm::System* self); private: bool selective_update_active; /* flag to update partially the system only selecting changed portions */