1#ifndef STORM_STORAGE_EXPRESSIONS_UNARYEXPRESSION_H_
2#define STORM_STORAGE_EXPRESSIONS_UNARYEXPRESSION_H_
30 virtual uint_fast64_t
getArity()
const override;
31 virtual std::shared_ptr<BaseExpression const>
getOperand(uint_fast64_t operandIndex)
const override;
32 virtual void gatherVariables(std::set<storm::expressions::Variable>& variables)
const override;
39 std::shared_ptr<BaseExpression const>
const&
getOperand()
const;
43 std::shared_ptr<BaseExpression const> operand;
The base class of all expression classes.
This class is responsible for managing a set of typed variables and all expressions using these varia...
UnaryExpression & operator=(UnaryExpression const &other)=delete
virtual bool isFunctionApplication() const override
Checks if the expression is a function application (of any sort).
UnaryExpression & operator=(UnaryExpression &&)=delete
virtual void gatherVariables(std::set< storm::expressions::Variable > &variables) const override
Retrieves the set of all variables that appear in the expression.
std::shared_ptr< BaseExpression const > const & getOperand() const
Retrieves the operand of the unary expression.
virtual bool containsVariables() const override
Retrieves whether the expression contains a variable.
virtual uint_fast64_t getArity() const override
Returns the arity of the expression.
UnaryExpression(UnaryExpression &&)=default
virtual ~UnaryExpression()=default
UnaryExpression(UnaryExpression const &other)=default