Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add WakeupTreeIterator and WakeupTree skeletons
[simgrid.git] / src / mc / explo / odpor / WakeupTree.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/WakeupTree.hpp"
7 #include "src/mc/explo/odpor/Execution.hpp"
8
9 #include <algorithm>
10
11 namespace simgrid::mc::odpor {
12
13 WakeupTree::WakeupTree() : root(nullptr) {}
14
15 void WakeupTree::insert(const Execution& E, const ExecutionSequence& w)
16 {
17   // Find the first node `v` in the tree such that
18   // `v ~_[E] w`
19 }
20
21 } // namespace simgrid::mc::odpor