Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add iterator files to xbt/utils
authorMaxwell Pirtle <maxwellpirtle@gmail.com>
Mon, 27 Feb 2023 12:46:14 +0000 (13:46 +0100)
committerMaxwell Pirtle <maxwellpirtle@gmail.com>
Mon, 27 Feb 2023 14:34:45 +0000 (15:34 +0100)
src/mc/explo/udpor/CompatibilityGraphNode.cpp
src/xbt/utils/iter/subsets.cpp [new file with mode: 0644]
src/xbt/utils/iter/subsets.hpp [new file with mode: 0644]

index b3ddbef..00f28fc 100644 (file)
@@ -5,6 +5,9 @@
 
 #include "src/mc/explo/udpor/CompatibilityGraphNode.hpp"
 
+#include <algorithm>
+#include <numeric>
+
 namespace simgrid::mc::udpor {
 
 CompatibilityGraphNode::CompatibilityGraphNode(std::unordered_set<CompatibilityGraphNode*> conflicts, EventSet events_)
diff --git a/src/xbt/utils/iter/subsets.cpp b/src/xbt/utils/iter/subsets.cpp
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/xbt/utils/iter/subsets.hpp b/src/xbt/utils/iter/subsets.hpp
new file mode 100644 (file)
index 0000000..1e107be
--- /dev/null
@@ -0,0 +1,19 @@
+/* A thread pool (C++ version).                                             */
+
+/* Copyright (c) 2004-2023 The SimGrid Team. All rights reserved.           */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
+#ifndef XBT_SUBSETS_HPP
+#define XBT_SUBSETS_HPP
+
+#include <functional>
+#include <unordered_set>
+#include <vector>
+
+namespace simgrid::xbt {
+
+} // namespace simgrid::xbt
+
+#endif