1 /* Copyright (c) 2008-2021. The SimGrid Team. All rights reserved. */
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. */
6 #include "udpor_global.hpp"
9 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_udpor_global, mc, "udpor_global");
14 EventSet EvtSetTools::makeUnion(EventSet s1, EventSet s2)
18 EvtSetTools::pushBack(res, evt);
22 void EvtSetTools::pushBack(EventSet& events, UnfoldingEvent* e)
24 if (!EvtSetTools::contains(events, e))
28 bool EvtSetTools::contains(const EventSet events, const UnfoldingEvent* e)
30 for (auto evt : events)
37 } // namespace simgrid