Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Replace todo direct access with consider methods; guided or not
[simgrid.git] / src / mc / api / State.cpp
index 008a844..868d8fb 100644 (file)
@@ -64,15 +64,6 @@ std::size_t State::count_todo() const
   return boost::range::count_if(this->guide->actors_to_run_, [](auto& pair) { return pair.second.is_todo(); });
 }
 
-void State::mark_all_enabled_todo()
-{
-  for (auto const& [aid, _] : this->get_actors_list()) {
-    if (this->is_actor_enabled(aid) and not is_actor_done(aid)) {
-      this->mark_todo(aid);
-    }
-  }
-}
-
 Transition* State::get_transition() const
 {
   return transition_;