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

Public GIT Repository
[mc] Rename a checkNonDeterminism() to checkNonTermination()
[simgrid.git] / src / mc / SafetyChecker.hpp
index 4f60b792ec7c5f2a9d8f3157c049fac636a63801..c1896eec2e339b581b835c4a6763a5d2ad468c35 100644 (file)
@@ -9,6 +9,8 @@
 
 #include <list>
 #include <memory>
+#include <string>
+#include <vector>
 
 #include "src/mc/mc_forward.hpp"
 #include "src/mc/Checker.hpp"
@@ -17,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);
@@ -28,7 +30,7 @@ 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_;