X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/33fcc3e868b31e8da6d0bbef7fa4a207a5a802dc..22a45a8d97ef0f1211ee05f9c16d7d90b37cf33b:/include/simgrid/kernel/resource/Model.hpp diff --git a/include/simgrid/kernel/resource/Model.hpp b/include/simgrid/kernel/resource/Model.hpp index 77039234ed..b803d87a14 100644 --- a/include/simgrid/kernel/resource/Model.hpp +++ b/include/simgrid/kernel/resource/Model.hpp @@ -29,6 +29,8 @@ public: }; Model(); + Model(Model::UpdateAlgo algo); + virtual ~Model(); /** @brief Get the set of [actions](@ref Action) in *ready* state */ @@ -52,10 +54,7 @@ public: /** @brief Set the maxmin system of the current Model */ void set_maxmin_system(lmm::System* system) { maxmin_system_ = system; } - /** - * @brief Get the update mechanism of the current Model - * @see e_UM_t - */ + /** @brief Get the update mechanism of the current Model */ UpdateAlgo getUpdateMechanism() const { return update_mechanism_; } void setUpdateMechanism(UpdateAlgo mechanism) { update_mechanism_ = mechanism; }