X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f7a4833f1a704ef0be1ef00f9de84ad8d5975426..7d9763f5619c35b79077e30f5d32de44699824a6:/src/mc/SafetyChecker.hpp diff --git a/src/mc/SafetyChecker.hpp b/src/mc/SafetyChecker.hpp index 143518277e..39b083454a 100644 --- a/src/mc/SafetyChecker.hpp +++ b/src/mc/SafetyChecker.hpp @@ -8,6 +8,9 @@ #define SIMGRID_MC_SAFETY_CHECKER_HPP #include +#include +#include +#include #include "src/mc/mc_forward.hpp" #include "src/mc/Checker.hpp" @@ -16,7 +19,7 @@ namespace simgrid { namespace mc { -class SafetyChecker : public Checker { +class XBT_PRIVATE SafetyChecker : public Checker { simgrid::mc::ReductionMode reductionMode_ = simgrid::mc::ReductionMode::unset; public: SafetyChecker(Session& session); @@ -27,11 +30,12 @@ public: private: // Temp void init(); - bool checkNonDeterminism(simgrid::mc::State* current_state); + bool checkNonTermination(simgrid::mc::State* current_state); private: /** Stack representing the position in the exploration graph */ - std::list stack_; + std::list> stack_; simgrid::mc::VisitedStates visitedStates_; + std::unique_ptr visitedState_; }; }