Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
"Finalize" interface to UnfoldingEvent
[simgrid.git] / src / mc / explo / udpor / UnfoldingEvent.cpp
1 /* Copyright (c) 2008-2023. The SimGrid Team. All rights reserved.          */
2
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. */
5
6 #include "src/mc/explo/udpor/UnfoldingEvent.hpp"
7
8 namespace simgrid::mc::udpor {
9
10 UnfoldingEvent::UnfoldingEvent(std::shared_ptr<Transition> transition, EventSet immediate_causes,
11                                unsigned long event_id)
12     : associated_transition(std::move(transition)), immediate_causes(std::move(immediate_causes)), event_id(event_id)
13 {
14 }
15
16 bool UnfoldingEvent::operator==(const UnfoldingEvent&) const
17 {
18   // TODO: Implement semantic equality
19   return false;
20 }
21
22 } // namespace simgrid::mc::udpor