22 uint_fast64_t lineNumber = 0);
45 std::string
const&
getName()
const;
81 Constant substitute(std::map<storm::expressions::Variable, storm::expressions::Expression>
const& substitution)
const;
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.
Constant(Constant const &other)=default
Constant & operator=(Constant const &other)=default
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.
Constant(Constant &&other)=default
friend std::ostream & operator<<(std::ostream &stream, Constant const &constant)
storm::expressions::Type const & getType() const
Retrieves the type of the constant.
Constant & operator=(Constant &&other)=default
storm::expressions::Expression const & getExpression() const
Retrieves the expression that defines the constant.
bool operator==(Constant const &lhs, Constant const &rhs)