Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / src / mc / SafetyChecker.hpp
1 /* Copyright (c) 2008-2016. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #ifndef SIMGRID_MC_SAFETY_CHECKER_HPP
8 #define SIMGRID_MC_SAFETY_CHECKER_HPP
9
10 #include "src/mc/mc_forward.hpp"
11 #include "src/mc/Checker.hpp"
12
13 namespace simgrid {
14 namespace mc {
15
16 class SafetyChecker : public Checker {
17   simgrid::mc::ReductionMode reductionMode_ = simgrid::mc::ReductionMode::unset;
18 public:
19   SafetyChecker(Session& session);
20   ~SafetyChecker();
21   int run() override;
22   RecordTrace getRecordTrace() override;
23   std::vector<std::string> getTextualTrace() override;
24 private:
25   // Temp
26   void init();
27 };
28
29 }
30 }
31
32 #endif