Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add initial outline of SDPOR implementation
[simgrid.git] / src / mc / explo / odpor / Execution.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/odpor/Execution.hpp"
7
8 namespace simgrid::mc::odpor {
9
10 std::unordered_set<Execution::EventHandle> Execution::get_racing_events_of(Execution::EventHandle e1) const
11 {
12   return {};
13 }
14
15 bool Execution::happens_before(Execution::EventHandle e1, Execution::EventHandle e2) const
16 {
17   return true;
18 }
19
20 Execution Execution::get_prefix_up_to(Execution::EventHandle)
21 {
22   return *this;
23 }
24
25 void Execution::pop_latest() {}
26
27 void Execution::push_transition(const Transition*) {}
28
29 } // namespace simgrid::mc::odpor