11namespace expressions {
27 virtual void gatherVariables(std::set<storm::expressions::Variable>& variables)
const override;
29 virtual std::shared_ptr<BaseExpression const>
simplify()
const override;
33 virtual std::shared_ptr<BaseExpression const>
size()
const override;
36 virtual std::shared_ptr<BaseExpression const>
at(uint64_t i)
const override;
39 virtual void printToStream(std::ostream& stream)
const override;
42 std::vector<std::shared_ptr<BaseExpression const>> elements;
The base class of all array expressions.
This class is responsible for managing a set of typed variables and all expressions using these varia...
Represents an array with a given list of elements.
virtual std::shared_ptr< BaseExpression const > size() const override
virtual std::shared_ptr< BaseExpression const > at(uint64_t i) const override
ValueArrayExpression(ValueArrayExpression &&)=default
virtual std::shared_ptr< BaseExpression const > simplify() const override
Simplifies the expression according to some simple rules.
virtual void gatherVariables(std::set< storm::expressions::Variable > &variables) const override
Retrieves the set of all variables that appear in the expression.
ValueArrayExpression & operator=(ValueArrayExpression &&)=delete
virtual bool containsVariables() const override
Retrieves whether the expression contains a variable.
virtual void printToStream(std::ostream &stream) const override
Prints the expression to the given stream.
ValueArrayExpression & operator=(ValueArrayExpression const &other)=delete
ValueArrayExpression(ValueArrayExpression const &other)=default
virtual boost::any accept(ExpressionVisitor &visitor, boost::any const &data) const override
Accepts the given visitor by calling its visit method.
virtual ~ValueArrayExpression()=default