5#include <boost/optional.hpp>
25 std::string
const&
getName()
const;
std::string const & getName() const
Retrieves the name of the constant.
bool isRealConstant() const
Retrieves whether the constant is a real constant.
void define(storm::expressions::Expression const &expression)
Defines the constant with the given expression.
bool hasConstraint() const
Retrieves whether there is a constraint for the possible values of this constant.
storm::expressions::Expression const & getConstraintExpression() const
Retrieves the expression that constraints the possible values of this constant (if any).
storm::expressions::Type const & getType() const
Retrieves the type of the constant.
void setConstraintExpression(storm::expressions::Expression const &expression)
Sets a constraint expression.
bool isIntegerConstant() const
Retrieves whether the constant is an integer constant.
bool isBooleanConstant() const
Retrieves whether the constant is a boolean constant.
storm::expressions::Variable const & getExpressionVariable() const
Retrieves the expression variable associated with this constant.
bool isDefined() const
Retrieves whether the constant is defined in the sense that it has a defining expression.
storm::expressions::Expression const & getExpression() const
Retrieves the expression that defines this constant (if any).