Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move the selection of the next transition to execute to mc::State
[simgrid.git] / src / mc / mc_state.hpp
index d5bc4bd..ae21f24 100644 (file)
@@ -39,6 +39,9 @@ public:
 
   explicit State(unsigned long state_number);
 
+  /* Returns a positive number if there is another transition to pick, or -1 if not */
+  int next_transition() const;
+
   std::size_t count_todo() const;
   void mark_todo(aid_t actor) { this->actor_states_[actor].mark_todo(); }
   Transition get_transition() const;