Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
VectorHelper.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <vector>
5
7
8namespace storm {
9namespace utility {
10
11template<typename ValueType>
13 public:
15
16 void reduceVector(storm::solver::OptimizationDirection dir, std::vector<ValueType> const& source, std::vector<ValueType>& target,
17 std::vector<uint_fast64_t> const& rowGrouping, std::vector<uint_fast64_t>* choices = nullptr) const;
18
19 bool parallelize() const;
20
21 private:
22 // A flag that stores whether the parallelization to be used.
23 bool doParallelize;
24};
25} // namespace utility
26} // namespace storm
void reduceVector(storm::solver::OptimizationDirection dir, std::vector< ValueType > const &source, std::vector< ValueType > &target, std::vector< uint_fast64_t > const &rowGrouping, std::vector< uint_fast64_t > *choices=nullptr) const
LabParser.cpp.
Definition cli.cpp:18