#include "src/mc/explo/udpor/Comb.hpp"
-#include <functional>
-
namespace simgrid::mc::udpor {
-auto Comb::combinations_begin() const
-{
- std::vector<std::reference_wrapper<const Spike>> references;
- std::transform(spikes.begin(), spikes.end(), std::back_inserter(references),
- [](const Spike& spike) { return std::cref(spike); });
- return simgrid::xbt::variable_for_loop<const Spike>(std::move(references));
-}
-
-auto Comb::combinations_end() const
-{
- return simgrid::xbt::variable_for_loop<const Spike>();
-}
-
} // namespace simgrid::mc::udpor
\ No newline at end of file