]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/SafetyChecker.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Create SafetyChecker::backtrack() method
[simgrid.git] / src / mc / SafetyChecker.hpp
index 9694a93d3a8a88c672b9fe850fc03d7ffcf24df9..8d237cea3ee5429bccc6979398a3cfb429806bf6 100644 (file)
@@ -30,11 +30,13 @@ public:
 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_;
 };
 
 }