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
6
#include "
storm/solver/OptimizationDirection.h
"
7
8
namespace
storm
{
9
namespace
utility {
10
11
template
<
typename
ValueType>
12
class
VectorHelper
{
13
public
:
14
VectorHelper
();
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
OptimizationDirection.h
storm::utility::VectorHelper
Definition
VectorHelper.h:12
storm::utility::VectorHelper::reduceVector
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
Definition
VectorHelper.cpp:32
storm::utility::VectorHelper::VectorHelper
VectorHelper()
Definition
VectorHelper.cpp:20
storm::utility::VectorHelper::parallelize
bool parallelize() const
Definition
VectorHelper.cpp:27
storm::solver::OptimizationDirection
OptimizationDirection
Definition
OptimizationDirection.h:8
storm
LabParser.cpp.
Definition
cli.cpp:18
src
storm
utility
VectorHelper.h
Generated by
1.9.8