X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/923c96522e059639b7722b35d033d79d9b0b5590..a96adb51dabc0c759af11e60c770355f22a54ef3:/src/mc/checker/LivenessChecker.hpp diff --git a/src/mc/checker/LivenessChecker.hpp b/src/mc/checker/LivenessChecker.hpp index 16bfff72a8..a6c6f42f12 100644 --- a/src/mc/checker/LivenessChecker.hpp +++ b/src/mc/checker/LivenessChecker.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2015. The SimGrid Team. +/* Copyright (c) 2007-2017. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -17,17 +17,14 @@ #include #include #include -#include "src/mc/mc_state.h" +#include "src/mc/mc_state.hpp" #include "src/mc/checker/Checker.hpp" -SG_BEGIN_DECL() - -SG_END_DECL() - namespace simgrid { namespace mc { -struct XBT_PRIVATE Pair { +class XBT_PRIVATE Pair { +public: int num = 0; bool search_cycle = false; std::shared_ptr graph_state = nullptr; /* System state included */ @@ -44,7 +41,8 @@ struct XBT_PRIVATE Pair { Pair& operator=(Pair const&) = delete; }; -struct XBT_PRIVATE VisitedPair { +class XBT_PRIVATE VisitedPair { +public: int num; int other_num = 0; /* Dot output for */ std::shared_ptr graph_state = nullptr; /* System state included */