9 std::string
const& filename, uint_fast64_t lineNumber)
10 :
LocatedInformation(filename, lineNumber), variable(variable), initialValueExpression(initialValueExpression), observable(observable) {
15 std::map<storm::expressions::Variable, storm::expressions::Expression>
const& renaming,
bool observable, std::string
const& filename,
16 uint_fast64_t lineNumber)
18 variable(manager.declareVariable(newName, oldVariable.variable.getType())),
20 observable(observable) {
25 return this->variable.getName();
29 return this->initialValueExpression.isInitialized();
33 return this->initialValueExpression;
37 this->initialValueExpression = initialValueExpression;
41 return this->variable;
45 return variable.getExpression();
49 return this->observable;
This class is responsible for managing a set of typed variables and all expressions using these varia...
storm::expressions::Expression const & getInitialValueExpression() const
Retrieves the expression defining the initial value of the variable.
storm::expressions::Variable const & getExpressionVariable() const
Retrieves the expression variable associated with this variable.
storm::expressions::Expression getExpression() const
Retrieves the expression associated with this variable.
void setInitialValueExpression(storm::expressions::Expression const &initialValueExpression)
Sets the expression defining the initial value of the variable.
std::string const & getName() const
Retrieves the name of the variable.
bool hasInitialValue() const
Retrieves whether the variable has an initial value.
bool isObservable() const
Retrieves whether the variable is observable.
Variable(Variable const &otherVariable)=default