Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add WakeupTreeIterator and WakeupTree skeletons
[simgrid.git] / src / mc / explo / odpor / odpor_forward.hpp
index 6581061..dc1e4bd 100644 (file)
 #define SIMGRID_MC_ODPOR_FORWARD_HPP
 
 #include "src/mc/mc_forward.hpp"
+#include <list>
 #include <simgrid/forward.h>
 
 namespace simgrid::mc::odpor {
 
+using ProcessSequence   = std::list<aid_t>;
+using ExecutionSequence = std::list<const Transition*>;
+
 class Event;
 class Execution;
-class ExecutionSequence;
-class ExecutionView;
 class WakeupTree;
+class WakeupTreeIterator;
 
 } // namespace simgrid::mc::odpor
 
+namespace simgrid::mc {
+
+// Permit ODPOR or SDPOR to be used as namespaces
+// Many of the structures overlap, so it doesn't
+// make sense to some in one and not the other.
+// Having one for each algorithm makes the corresponding
+// code easier to read
+namespace sdpor = simgrid::mc::odpor;
+
+} // namespace simgrid::mc
+
 #endif