X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f05224ef57c30ee1e71be443a160a236f7fe121a..cadc6f2a1e9eea38f5b9cd5f148e1bc282c26981:/src/mc/LivenessChecker.hpp diff --git a/src/mc/LivenessChecker.hpp b/src/mc/LivenessChecker.hpp index 18c32a0372..f9def2168d 100644 --- a/src/mc/LivenessChecker.hpp +++ b/src/mc/LivenessChecker.hpp @@ -16,7 +16,6 @@ #include #include -#include #include #include #include "src/mc/mc_state.h" @@ -39,7 +38,7 @@ struct XBT_PRIVATE Pair { int depth = 0; bool exploration_started = false; - Pair(); + Pair(unsigned long expanded_pairs); ~Pair(); Pair(Pair const&) = delete; @@ -69,6 +68,7 @@ public: int run() override; RecordTrace getRecordTrace() override; std::vector getTextualTrace() override; + void logState() override; private: int main(); void prepare(); @@ -87,6 +87,9 @@ public: std::list> explorationStack_; std::list> acceptancePairs_; std::list> visitedPairs_; +private: + unsigned long visitedPairsCount_ = 0; + unsigned long expandedPairsCount_ = 0; }; }