Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Add documentation and fix some things
[simgrid.git] / src / mc / Session.hpp
index 9b7d857..11afeda 100644 (file)
@@ -37,6 +37,7 @@ namespace mc {
 class Session {
 private:
   std::unique_ptr<ModelChecker> modelChecker_;
+  std::shared_ptr<simgrid::mc::Snapshot> initialSnapshot_;
 
 private:
   Session(pid_t pid, int socket);
@@ -49,6 +50,13 @@ public:
   ~Session();
   void close();
 
+public:
+  void initialize();
+  void execute(Transition const& transition);
+  void logState();
+
+  void restoreInitialState();
+
 public: // static constructors
 
   /** Create a new session by forking