1 /* Copyright (c) 2016-2022. The SimGrid Team. All rights reserved. */
3 /* This program is free software; you can redistribute it and/or modify it
4 * under the terms of the license (GNU LGPL) which comes with this package. */
6 #include "src/mc/VisitedState.hpp"
7 #include "src/mc/checker/Checker.hpp"
12 #ifndef SIMGRID_MC_COMMUNICATION_DETERMINISM_CHECKER_HPP
13 #define SIMGRID_MC_COMMUNICATION_DETERMINISM_CHECKER_HPP
18 class XBT_PRIVATE CommunicationDeterminismChecker : public Checker {
20 explicit CommunicationDeterminismChecker(Session* session);
21 ~CommunicationDeterminismChecker() override;
23 RecordTrace get_record_trace() override;
24 std::vector<std::string> get_textual_trace() override;
29 void log_state() override;
32 /** Stack representing the position in the exploration graph */
33 std::list<std::unique_ptr<State>> stack_;
34 VisitedStates visited_states_;
37 } // namespace simgrid