1#ifndef STORM_STORAGE_EXPRESSIONS_BINARYRELATIONEXPRESSION_H_
2#define STORM_STORAGE_EXPRESSIONS_BINARYRELATIONEXPRESSION_H_
22 std::shared_ptr<BaseExpression const>
const& secondOperand,
RelationType relationType);
35 virtual std::shared_ptr<BaseExpression const>
simplify()
const override;
48 virtual void printToStream(std::ostream& stream)
const override;
The base class of all binary expressions.
RelationType getRelationType() const
Retrieves the relation associated with the expression.
BinaryRelationExpression & operator=(BinaryRelationExpression &&)=delete
virtual boost::any accept(ExpressionVisitor &visitor, boost::any const &data) const override
Accepts the given visitor by calling its visit method.
virtual void printToStream(std::ostream &stream) const override
Prints the expression to the given stream.
virtual ~BinaryRelationExpression()=default
BinaryRelationExpression(BinaryRelationExpression const &other)=default
virtual storm::expressions::OperatorType getOperator() const override
Retrieves the operator of a function application.
virtual bool isBinaryRelationExpression() const override
virtual std::shared_ptr< BaseExpression const > simplify() const override
Simplifies the expression according to some simple rules.
BinaryRelationExpression & operator=(BinaryRelationExpression const &other)=delete
BinaryRelationExpression(BinaryRelationExpression &&)=default
virtual bool evaluateAsBool(Valuation const *valuation=nullptr) const override
Evaluates the expression under the valuation of unknowns (variables and constants) given by the valua...
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.
RelationType
An enum type specifying the different relations applicable.