Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
DistributionEntry.h
Go to the documentation of this file.
1#pragma once
2
3namespace storm::generator {
4
5template<typename StateType, typename ValueType>
7 public:
9 DistributionEntry(StateType const& state, ValueType const& value);
10
11 StateType const& getState() const;
12 ValueType const& getValue() const;
13
14 void addToValue(ValueType const& value);
15 void divide(ValueType const& value);
16
17 private:
18 StateType state;
19 ValueType value;
20};
21
22} // namespace storm::generator
void divide(ValueType const &value)
ValueType const & getValue() const
void addToValue(ValueType const &value)
StateType const & getState() const
DistributionEntry()