X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/38f8eda853bd8930373306f859bd361f39190784..52ce12f030da64a5c1e6eb3a644b75276c5194e7:/src/kernel/EngineImpl.hpp diff --git a/src/kernel/EngineImpl.hpp b/src/kernel/EngineImpl.hpp index 451a8ec3df..3d34761759 100644 --- a/src/kernel/EngineImpl.hpp +++ b/src/kernel/EngineImpl.hpp @@ -190,7 +190,7 @@ public: /* @brief Finish simulation initialization * This function must be called before the first call to solve() */ - void presolve(); + void presolve() const; /** @brief Performs a part of the simulation * @param max_date Maximum date to update the simulation to, or -1 * @return the elapsed time, or -1.0 if no event could be executed @@ -200,7 +200,7 @@ public: * when you call solve(). * Note that the returned elapsed time can be zero. */ - double solve(double max_date); + double solve(double max_date) const; /** @brief Run the main simulation loop. */ void run();