Storm 1.13.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
DistributionEntry.cpp
Go to the documentation of this file.
2#include <cstdint>
3
8
9namespace storm::generator {
10
11template<typename StateType, typename ValueType>
13 // Intentionally left empty.
14}
15
16template<typename StateType, typename ValueType>
17DistributionEntry<StateType, ValueType>::DistributionEntry(StateType const& state, ValueType const& value) : state(state), value(value) {
18 // Intentionally left empty.
19}
20
21template<typename StateType, typename ValueType>
23 return state;
24}
25
26template<typename StateType, typename ValueType>
28 return value;
29}
30
31template<typename StateType, typename ValueType>
33 this->value += value;
34}
35
36template<typename StateType, typename ValueType>
38 this->value /= value;
39}
40
46
52
53} // namespace storm::generator
void divide(ValueType const &value)
ValueType const & getValue() const
void addToValue(ValueType const &value)
StateType const & getState() const
DistributionEntry()