Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
ExplicitQuantitativeResultMinMax.cpp
Go to the documentation of this file.
2
4
5namespace storm::gbar {
6namespace abstraction {
7
8template<typename ValueType>
9ExplicitQuantitativeResultMinMax<ValueType>::ExplicitQuantitativeResultMinMax(uint64_t numberOfStates) : min(numberOfStates), max(numberOfStates) {
10 // Intentionally left empty.
11}
12
13template<typename ValueType>
17
18template<typename ValueType>
22
23template<typename ValueType>
27
28template<typename ValueType>
32
33template<typename ValueType>
37
38template<typename ValueType>
42
43template<typename ValueType>
45 if (dir == storm::OptimizationDirection::Minimize) {
46 return this->getMin();
47 } else {
48 return this->getMax();
49 }
50}
51
52template<typename ValueType>
54 if (dir == storm::OptimizationDirection::Minimize) {
55 return this->getMin();
56 } else {
57 return this->getMax();
58 }
59}
60
63} // namespace abstraction
64} // namespace storm::gbar
void setMin(ExplicitQuantitativeResult< ValueType > &&newMin)
ExplicitQuantitativeResult< ValueType > const & getMin() const
void setMax(ExplicitQuantitativeResult< ValueType > &&newMax)
ExplicitQuantitativeResult< ValueType > const & getMax() const
ExplicitQuantitativeResult< ValueType > const & get(storm::OptimizationDirection const &dir) const