Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add topological sort of configuration events
[simgrid.git] / src / mc / explo / udpor / Configuration.hpp
index a1d37c5..eb365d5 100644 (file)
@@ -10,6 +10,7 @@
 #include "src/mc/explo/udpor/udpor_forward.hpp"
 
 #include <initializer_list>
+#include <vector>
 
 namespace simgrid::mc::udpor {
 
@@ -59,6 +60,11 @@ public:
    */
   void add_event(UnfoldingEvent* e);
 
+  /**
+   *
+   */
+  std::vector<UnfoldingEvent*> get_topogolically_sorted_events_of_reverse_graph() const;
+
 private:
   /**
    * @brief The most recent event added to the configuration