Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Add documentation and fix some things
[simgrid.git] / src / mc / Session.hpp
index dd2e031..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);
@@ -50,9 +51,12 @@ public:
   void close();
 
 public:
+  void initialize();
   void execute(Transition const& transition);
   void logState();
 
+  void restoreInitialState();
+
 public: // static constructors
 
   /** Create a new session by forking