Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
DistributionEntry.cpp
Go to the documentation of this file.
2
4
6
7namespace storm::generator {
8
9template<typename StateType, typename ValueType>
11 // Intentionally left empty.
12}
13
14template<typename StateType, typename ValueType>
15DistributionEntry<StateType, ValueType>::DistributionEntry(StateType const& state, ValueType const& value) : state(state), value(value) {
16 // Intentionally left empty.
17}
18
19template<typename StateType, typename ValueType>
21 return state;
22}
23
24template<typename StateType, typename ValueType>
26 return value;
27}
28
29template<typename StateType, typename ValueType>
31 this->value += value;
32}
33
34template<typename StateType, typename ValueType>
36 this->value /= value;
37}
38
42
46
47} // namespace storm::generator
void divide(ValueType const &value)
ValueType const & getValue() const
void addToValue(ValueType const &value)
StateType const & getState() const
DistributionEntry()