1 /* Copyright (c) 2016. The SimGrid Team.
2 * All rights reserved. */
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. */
9 #include "src/mc/mc_forward.hpp"
10 #include "src/mc/Checker.hpp"
11 #include "src/mc/VisitedState.hpp"
13 #ifndef SIMGRID_MC_COMMUNICATION_DETERMINISM_CHECKER_HPP
14 #define SIMGRID_MC_COMMUNICATION_DETERMINISM_CHECKER_HPP
19 class CommunicationDeterminismChecker : public Checker {
21 CommunicationDeterminismChecker(Session& session);
22 ~CommunicationDeterminismChecker();
24 RecordTrace getRecordTrace() override;
25 std::vector<std::string> getTextualTrace() override;
30 /** Stack representing the position in the exploration graph */
31 std::list<simgrid::mc::State*> stack_;
32 simgrid::mc::VisitedStates visitedStates_;