Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
spellcheck mc. Don't ask why
[simgrid.git] / src / mc / Checker.hpp
index 21e6ecc..70a9031 100644 (file)
@@ -13,6 +13,7 @@
 
 #include "src/mc/mc_forward.hpp"
 #include "src/mc/mc_record.h"
+#include "src/mc/Session.hpp"
 
 namespace simgrid {
 namespace mc {
@@ -20,7 +21,7 @@ namespace mc {
 /** A model-checking algorithm
  *
  *  The goal is to move the data/state/configuration of a model-checking
- *  algorihms in subclasses. Implementing this interface will probably
+ *  algorithms in subclasses. Implementing this interface will probably
  *  not be really mandatory, you might be able to write your
  *  model-checking algorithm as plain imperative code instead.
  *
@@ -47,11 +48,16 @@ public:
    */
   virtual RecordTrace getRecordTrace();
   virtual std::vector<std::string> getTextualTrace();
+  virtual void logState();
 
 protected:
   Session& getSession() { return *session_; }
 };
 
+XBT_PUBLIC() Checker* createLivenessChecker(Session& session);
+XBT_PUBLIC() Checker* createSafetyChecker(Session& session);
+XBT_PUBLIC() Checker* createCommunicationDeterminismChecker(Session& session);
+
 }
 }