1#ifndef STORM_STORAGE_EXPRESSIONS_VALUATION_H_
2#define STORM_STORAGE_EXPRESSIONS_VALUATION_H_
10class ExpressionManager;
25 Valuation(std::shared_ptr<ExpressionManager const>
const& manager);
116 void setManager(std::shared_ptr<ExpressionManager const>
const& manager);
120 std::shared_ptr<ExpressionManager const> manager;
This class is responsible for managing a set of typed variables and all expressions using these varia...
The base class of all valuations of variables.
virtual void setRationalValue(Variable const &rationalVariable, double value)=0
Sets the value of the given boolean variable to the provided value.
virtual int_fast64_t getIntegerValue(Variable const &integerVariable) const =0
Retrieves the value of the given integer variable.
virtual void setIntegerValue(Variable const &integerVariable, int_fast64_t value)=0
Sets the value of the given integer variable to the provided value.
virtual void setBooleanValue(Variable const &booleanVariable, bool value)=0
Sets the value of the given boolean variable to the provided value.
ExpressionManager const & getManager() const
Retrieves the manager responsible for the variables of this valuation.
virtual double getRationalValue(Variable const &rationalVariable) const =0
Retrieves the value of the given rational variable.
void setManager(std::shared_ptr< ExpressionManager const > const &manager)
Sets the manager responsible for the variables in this valuation.
virtual bool getBooleanValue(Variable const &booleanVariable) const =0
Retrieves the value of the given boolean variable.
virtual int_fast64_t getBitVectorValue(Variable const &bitVectorVariable) const =0
Retrieves the value of the given bit vector variable.
virtual ~Valuation()
Declare virtual destructor, so we can properly delete instances later.
virtual void setBitVectorValue(Variable const &bitVectorVariable, int_fast64_t value)=0
Sets the value of the given bit vector variable to the provided value.
std::shared_ptr< ExpressionManager const > const & getManagerAsSharedPtr() const
Retrieves the manager responsible for the variables of this valuation.