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);
private:
// Temp
void init();
- bool checkNonDeterminism(simgrid::mc::State* current_state);
+ bool checkNonTermination(simgrid::mc::State* current_state);
+ int backtrack();
private:
/** Stack representing the position in the exploration graph */
std::list<std::unique_ptr<simgrid::mc::State>> stack_;
simgrid::mc::VisitedStates visitedStates_;
+ std::unique_ptr<simgrid::mc::VisitedState> visitedState_;
};
}