Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Move visitedState as a field of SafetyChecker
[simgrid.git] / src / mc / SafetyChecker.hpp
index 9694a93..39b0834 100644 (file)
@@ -30,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<std::unique_ptr<simgrid::mc::State>> stack_;
   simgrid::mc::VisitedStates visitedStates_;
+  std::unique_ptr<simgrid::mc::VisitedState> visitedState_;
 };
 
 }