X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/59eb941343a62f9f72f7fb787837a179cdfadf1d..f5961f8e3a20cb943913a472ac8e11575470dab4:/src/mc/explo/udpor/Unfolding.hpp diff --git a/src/mc/explo/udpor/Unfolding.hpp b/src/mc/explo/udpor/Unfolding.hpp index e3c05c0ff6..140c893525 100644 --- a/src/mc/explo/udpor/Unfolding.hpp +++ b/src/mc/explo/udpor/Unfolding.hpp @@ -28,8 +28,17 @@ public: size_t size() const { return this->event_handles.size(); } bool empty() const { return this->event_handles.empty(); } - void remove(const UnfoldingEvent* e); - void remove(const EventSet& events); + /** + * @brief Moves an event from UDPOR's global set `U` to + * the global set `G` + */ + void mark_finished(const UnfoldingEvent* e); + + /** + * @brief Moves all events in a set from UDPOR's global + * set `U` to the global set `G` + */ + void mark_finished(const EventSet& events); /// @brief Adds a new event `e` to the Unfolding if that /// event is not equivalent to any of those already contained