X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/39657d7de68ca06c1c3064d52c025aacdd8a9add..9692d43fa911bdc2d6d0263a3cb3e22d5e3167fe:/src/mc/SafetyChecker.hpp diff --git a/src/mc/SafetyChecker.hpp b/src/mc/SafetyChecker.hpp index a9662be45b..b2dd2696ae 100644 --- a/src/mc/SafetyChecker.hpp +++ b/src/mc/SafetyChecker.hpp @@ -33,11 +33,13 @@ private: void init(); bool checkNonTermination(simgrid::mc::State* current_state); int backtrack(); + void restoreState(); private: /** Stack representing the position in the exploration graph */ std::list> stack_; simgrid::mc::VisitedStates visitedStates_; std::unique_ptr visitedState_; + unsigned long expandedStatesCount_ = 0; }; }