8 uint_fast64_t lineNumber)
9 :
LocatedInformation(filename, lineNumber), variable(variable), expression(expression) {
19 return this->variable.
getName();
27 return this->variable;
35 return this->expression;
49 stream <<
"double" <<
" ";
51 stream << constant.
getType() <<
" ";
bool isSyntacticallyEqual(storm::expressions::Expression const &other) const
Checks whether the two expressions are syntatically the same.
bool isInitialized() const
Checks whether the object encapsulates a base-expression.
bool isRationalType() const
Checks whether this type is a rational type.
Type const & getType() const
Retrieves the type of the variable.
std::string const & getName() const
Retrieves the name of the variable.
bool isDefined() const
Retrieves whether the constant is defined, i.e., whether there is an expression defining its value.
storm::expressions::Variable const & getExpressionVariable() const
Retrieves the expression variable associated with this constant.
std::string const & getName() const
Retrieves the name of the constant.
Constant substitute(std::map< storm::expressions::Variable, storm::expressions::Expression > const &substitution) const
Substitutes all identifiers in the constant according to the given map.
storm::expressions::Type const & getType() const
Retrieves the type of the constant.
storm::expressions::Expression const & getExpression() const
Retrieves the expression that defines the constant.
std::ostream & operator<<(std::ostream &stream, Assignment const &assignment)
bool operator==(Constant const &lhs, Constant const &rhs)