X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f7a4833f1a704ef0be1ef00f9de84ad8d5975426..0cfb40d124549f4dde6f00095847de0d04828adf:/src/mc/VisitedState.hpp?ds=sidebyside diff --git a/src/mc/VisitedState.hpp b/src/mc/VisitedState.hpp index 3e06eccc67..13691af2e3 100644 --- a/src/mc/VisitedState.hpp +++ b/src/mc/VisitedState.hpp @@ -23,15 +23,15 @@ struct XBT_PRIVATE VisitedState { int num = 0; int other_num = 0; // dot_output for - VisitedState(); + VisitedState(unsigned long state_number); ~VisitedState(); }; -class VisitedStates { +class XBT_PRIVATE VisitedStates { std::vector> states_; public: void clear() { states_.clear(); } - std::unique_ptr addVisitedState(simgrid::mc::State* graph_state, bool compare_snpashots); + std::unique_ptr addVisitedState(unsigned long state_number, simgrid::mc::State* graph_state, bool compare_snpashots); private: void prune(); };