Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add WakeupTreeIterator and WakeupTree skeletons
[simgrid.git] / src / mc / explo / odpor / odpor_forward.hpp
1 /* Copyright (c) 2007-2023. The SimGrid Team. All rights reserved.          */
2
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. */
5
6 /** @file odpor_forward.hpp
7  *
8  *  Forward definitions for MC types specific to ODPOR
9  */
10
11 #ifndef SIMGRID_MC_ODPOR_FORWARD_HPP
12 #define SIMGRID_MC_ODPOR_FORWARD_HPP
13
14 #include "src/mc/mc_forward.hpp"
15 #include <list>
16 #include <simgrid/forward.h>
17
18 namespace simgrid::mc::odpor {
19
20 using ProcessSequence   = std::list<aid_t>;
21 using ExecutionSequence = std::list<const Transition*>;
22
23 class Event;
24 class Execution;
25 class WakeupTree;
26 class WakeupTreeIterator;
27
28 } // namespace simgrid::mc::odpor
29
30 namespace simgrid::mc {
31
32 // Permit ODPOR or SDPOR to be used as namespaces
33 // Many of the structures overlap, so it doesn't
34 // make sense to some in one and not the other.
35 // Having one for each algorithm makes the corresponding
36 // code easier to read
37 namespace sdpor = simgrid::mc::odpor;
38
39 } // namespace simgrid::mc
40
41 #endif