Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MC: untangle the dependency code a tiny bit
[simgrid.git] / src / mc / mc_state.cpp
index 26901e6135838b23d872f0e14a9ce8ae1c5dbea4..5ffc15c843a80aa1d7a725a89ce3f0e7457950cc 100644 (file)
@@ -17,7 +17,6 @@ namespace mc {
 
 State::State(unsigned long state_number) : num_(state_number)
 {
-  this->internal_comm_.clear();
   auto maxpid = api::get().get_maxpid();
   actor_states_.resize(maxpid);
   /* Stateful model checking */
@@ -31,7 +30,7 @@ State::State(unsigned long state_number) : num_(state_number)
   }
 }
 
-std::size_t State::interleave_size() const
+std::size_t State::count_todo() const
 {
   return boost::range::count_if(this->actor_states_, [](simgrid::mc::ActorState const& a) { return a.is_todo(); });
 }