Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
Valuation.cpp
Go to the documentation of this file.
3
4namespace storm {
5namespace expressions {
6Valuation::Valuation(std::shared_ptr<ExpressionManager const> const& manager) : manager(manager) {
7 // Intentionally left empty.
8}
9
11 // Intentionally left empty.
12}
13
15 return *manager;
16}
17
18std::shared_ptr<ExpressionManager const> const& Valuation::getManagerAsSharedPtr() const {
19 return manager;
20}
21
22void Valuation::setManager(std::shared_ptr<ExpressionManager const> const& manager) {
23 this->manager = manager;
24}
25
26} // namespace expressions
27} // namespace storm
This class is responsible for managing a set of typed variables and all expressions using these varia...
Valuation(std::shared_ptr< ExpressionManager const > const &manager)
Creates a valuation of all non-auxiliary variables managed by the given manager.
Definition Valuation.cpp:6
ExpressionManager const & getManager() const
Retrieves the manager responsible for the variables of this valuation.
Definition Valuation.cpp:14
void setManager(std::shared_ptr< ExpressionManager const > const &manager)
Sets the manager responsible for the variables in this valuation.
Definition Valuation.cpp:22
virtual ~Valuation()
Declare virtual destructor, so we can properly delete instances later.
Definition Valuation.cpp:10
std::shared_ptr< ExpressionManager const > const & getManagerAsSharedPtr() const
Retrieves the manager responsible for the variables of this valuation.
Definition Valuation.cpp:18
LabParser.cpp.
Definition cli.cpp:18