1#ifndef STORM_STORAGE_EXPRESSIONS_BINARYNUMERICALFUNCTIONEXPRESSION_H_
2#define STORM_STORAGE_EXPRESSIONS_BINARYNUMERICALFUNCTIONEXPRESSION_H_
26 std::shared_ptr<BaseExpression const>
const& secondOperand,
OperatorType operatorType);
40 virtual std::shared_ptr<BaseExpression const>
simplify()
const override;
53 virtual void printToStream(std::ostream& stream)
const override;
The base class of all binary expressions.
BinaryNumericalFunctionExpression(BinaryNumericalFunctionExpression &&)=default
virtual double evaluateAsDouble(Valuation const *valuation=nullptr) const override
Evaluates the expression under the valuation of unknowns (variables and constants) given by the valua...
BinaryNumericalFunctionExpression & operator=(BinaryNumericalFunctionExpression &&)=delete
BinaryNumericalFunctionExpression & operator=(BinaryNumericalFunctionExpression const &other)=delete
virtual ~BinaryNumericalFunctionExpression()=default
BinaryNumericalFunctionExpression(BinaryNumericalFunctionExpression const &other)=default
OperatorType getOperatorType() const
Retrieves the operator associated with the expression.
virtual boost::any accept(ExpressionVisitor &visitor, boost::any const &data) const override
Accepts the given visitor by calling its visit method.
virtual bool isBinaryNumericalFunctionExpression() const override
virtual void printToStream(std::ostream &stream) const override
Prints the expression to the given stream.
virtual storm::expressions::OperatorType getOperator() const override
Retrieves the operator of a function application.
virtual int_fast64_t evaluateAsInt(Valuation const *valuation=nullptr) const override
Evaluates the expression under the valuation of unknowns (variables and constants) given by the valua...
OperatorType
An enum type specifying the different operators applicable.
virtual std::shared_ptr< BaseExpression const > simplify() const override
Simplifies the expression according to some simple rules.
This class is responsible for managing a set of typed variables and all expressions using these varia...
The base class of all valuations of variables.