X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/07483e97b12350d1d293f19689575f0fbdcf0246..30f40863fc506c7013dec1902201d4bdffe3a101:/src/mc/VisitedState.hpp?ds=sidebyside diff --git a/src/mc/VisitedState.hpp b/src/mc/VisitedState.hpp index b9e85967ba..3665060744 100644 --- a/src/mc/VisitedState.hpp +++ b/src/mc/VisitedState.hpp @@ -12,6 +12,7 @@ #include #include "src/mc/mc_snapshot.h" +#include "src/mc/mc_state.h" namespace simgrid { namespace mc { @@ -19,11 +20,11 @@ namespace mc { struct XBT_PRIVATE VisitedState { std::shared_ptr system_state = nullptr; std::size_t heap_bytes_used = 0; - int actors_count = 0; - int num = 0; - int other_num = 0; // dot_output for + int actors_count = 0; + int num = 0; // unique id of that state in the storage of all stored IDs + int original_num = 0; // num field of the VisitedState to which I was declared equal to (used for dot_output) - VisitedState(unsigned long state_number); + explicit VisitedState(unsigned long state_number); ~VisitedState(); };