1 /* Copyright (c) 2007-2023. 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 /** @file odpor_forward.hpp
8 * Forward definitions for MC types specific to ODPOR
11 #ifndef SIMGRID_MC_ODPOR_FORWARD_HPP
12 #define SIMGRID_MC_ODPOR_FORWARD_HPP
14 #include "src/mc/mc_forward.hpp"
17 #include <simgrid/forward.h>
19 namespace simgrid::mc::odpor {
21 using PartialExecution = std::list<std::shared_ptr<Transition>>;
25 class ReversibleRaceCalculator;
28 class WakeupTreeIterator;
30 } // namespace simgrid::mc::odpor
32 namespace simgrid::mc {
34 // Permit ODPOR or SDPOR to be used as namespaces
35 // Many of the structures overlap, so it doesn't
36 // make sense to some in one and not the other.
37 // Having one for each algorithm makes the corresponding
38 // code easier to read
39 namespace sdpor = simgrid::mc::odpor;
41 } // namespace simgrid::mc