Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'battery-get-name' into 'master'
[simgrid.git] / src / mc / explo / odpor / odpor_forward.hpp
index 6581061..52388bc 100644 (file)
 #define SIMGRID_MC_ODPOR_FORWARD_HPP
 
 #include "src/mc/mc_forward.hpp"
+#include <list>
+#include <memory>
 #include <simgrid/forward.h>
 
 namespace simgrid::mc::odpor {
 
+using PartialExecution = std::list<std::shared_ptr<Transition>>;
+
 class Event;
 class Execution;
-class ExecutionSequence;
-class ExecutionView;
+class ReversibleRaceCalculator;
 class WakeupTree;
+class WakeupTreeNode;
+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