Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MC: the state does not need to have the simcall anymore
[simgrid.git] / src / mc / api / State.hpp
index 7d47e41..bc5f7a0 100644 (file)
@@ -6,9 +6,9 @@
 #ifndef SIMGRID_MC_STATE_HPP
 #define SIMGRID_MC_STATE_HPP
 
-#include "src/mc/api/Transition.hpp"
-#include "src/mc/mc_comm_pattern.hpp"
+#include "src/mc/mc_pattern.hpp"
 #include "src/mc/sosp/Snapshot.hpp"
+#include "src/mc/transition/Transition.hpp"
 
 namespace simgrid {
 namespace mc {
@@ -17,7 +17,7 @@ namespace mc {
 class XBT_PRIVATE State : public xbt::Extendable<State> {
   static long expended_states_; /* Count total amount of states, for stats */
 
-  /* Outgoing transition: what was the last transition that we took to leave this state? Useful for replay */
+  /* Outgoing transition: what was the last transition that we took to leave this state? */
   std::unique_ptr<Transition> transition_;
 
 public:
@@ -29,9 +29,6 @@ public:
   /** State's exploration status by process */
   std::vector<ActorState> actor_states_;
 
-  /** The simcall which was executed, going out of that state */
-  s_smx_simcall executed_req_;
-
   /** Snapshot of system state (if needed) */
   std::shared_ptr<simgrid::mc::Snapshot> system_state_;