Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Get rid of the global simgrid::mc::visited_states, use a class instead
[simgrid.git] / src / mc / SafetyChecker.hpp
index b2aa138..1435182 100644 (file)
@@ -11,6 +11,7 @@
 
 #include "src/mc/mc_forward.hpp"
 #include "src/mc/Checker.hpp"
+#include "src/mc/VisitedState.hpp"
 
 namespace simgrid {
 namespace mc {
@@ -26,10 +27,11 @@ public:
 private:
   // Temp
   void init();
-  bool is_exploration_stack_state(simgrid::mc::State* current_state);
+  bool checkNonDeterminism(simgrid::mc::State* current_state);
 private:
   /** Stack representing the position in the exploration graph */
   std::list<simgrid::mc::State*> stack_;
+  simgrid::mc::VisitedStates visitedStates_;
 };
 
 }