71 void substitute(std::map<storm::expressions::Variable, storm::expressions::Expression>
const& substitution,
bool const substituteTranscendentalNumbers);
113 bool operator()(std::shared_ptr<Assignment>
const& left, std::shared_ptr<Assignment>
const& right)
const;
Assignment(Assignment const &)=default
storm::expressions::Expression const & getAssignedExpression() const
Retrieves the expression whose value is assigned to the target variable.
storm::jani::LValue const & getLValue() const
Retrieves the lValue that is written in this assignment.
storm::expressions::Variable const & getExpressionVariable() const
Retrieves the expression variable that is written in this assignment.
bool lValueIsArrayAccess() const
Returns true if the lValue is an array access.
void setAssignedExpression(storm::expressions::Expression const &expression)
Sets a new expression that is assigned to the target LValue.
bool lValueIsVariable() const
Returns true if the lValue is a variable.
bool isLinear() const
Checks the assignment for linearity.
storm::jani::Variable const & getVariable() const
Retrieves the Variable that is written in this assignment.
int64_t getLevel() const
Retrieves the level of the assignment.
bool operator==(Assignment const &other) const
friend std::ostream & operator<<(std::ostream &stream, Assignment const &assignment)
void substitute(std::map< storm::expressions::Variable, storm::expressions::Expression > const &substitution, bool const substituteTranscendentalNumbers)
Substitutes all variables in all expressions according to the given substitution.
bool isTransient() const
Retrieves whether the assignment assigns to a transient variable.
void setLevel(int64_t level)
Sets the level.
This functor enables ordering the assignments first by the assignment level and then by lValue.
bool operator()(Assignment const &left, Assignment const &right) const