Storm 1.11.1.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
DistributionEntry.cpp
Go to the documentation of this file.
2
7
8namespace storm::generator {
9
10template<typename StateType, typename ValueType>
12 // Intentionally left empty.
13}
14
15template<typename StateType, typename ValueType>
16DistributionEntry<StateType, ValueType>::DistributionEntry(StateType const& state, ValueType const& value) : state(state), value(value) {
17 // Intentionally left empty.
18}
19
20template<typename StateType, typename ValueType>
22 return state;
23}
24
25template<typename StateType, typename ValueType>
27 return value;
28}
29
30template<typename StateType, typename ValueType>
32 this->value += value;
33}
34
35template<typename StateType, typename ValueType>
37 this->value /= value;
38}
39
44
49
50} // namespace storm::generator
void divide(ValueType const &value)
ValueType const & getValue() const
void addToValue(ValueType const &value)
StateType const & getState() const
DistributionEntry()