6 uint_fast64_t lineNumber)
7 :
LocatedInformation(filename, lineNumber), variable(variable), expression(expression) {
20 return this->expression;
34 return variable == *(this->expression.
getVariables().begin());
bool isVariable() const
Retrieves whether the expression is a variable.
std::set< storm::expressions::Variable > getVariables() const
Retrieves the set of all variables that appear in the expression.
std::string const & getName() const
Retrieves the name of the variable.
storm::expressions::Variable const & getVariable() const
Retrieves the variable that is written to by this assignment.
std::string const & getVariableName() const
Retrieves the name of the variable that this assignment targets.
storm::expressions::Expression const & getExpression() const
Retrieves the expression that is assigned to the variable.
bool isIdentity() const
Checks whether the assignment is an identity (lhs equals rhs)
Assignment substitute(std::map< storm::expressions::Variable, storm::expressions::Expression > const &substitution) const
Substitutes all variables in the assignment according to the given map.
Assignment substituteNonStandardPredicates() const
#define STORM_LOG_ASSERT(cond, message)
std::ostream & operator<<(std::ostream &stream, Assignment const &assignment)