13 return boost::any_cast<bool>(expression.
accept(*
this, boost::none));
18 if (expression.
getCondition()->toExpression().containsVariable(variables)) {
22 return boost::any_cast<bool>(expression.
getThenExpression()->accept(*
this, data)) ||
28 return boost::any_cast<bool>(expression.
getFirstOperand()->accept(*
this, data)) ||
33 return boost::any_cast<bool>(expression.
getFirstOperand()->accept(*
this, data)) ||
38 return boost::any_cast<bool>(expression.
getFirstOperand()->accept(*
this, data)) ||
47 return expression.
getOperand()->accept(*
this, data);
51 return expression.
getOperand()->accept(*
this, data);
std::shared_ptr< BaseExpression const > const & getSecondOperand() const
Retrieves the second operand of the expression.
std::shared_ptr< BaseExpression const > const & getFirstOperand() const
Retrieves the first operand of the expression.
virtual boost::any visit(IfThenElseExpression const &expression, boost::any const &data) override
CheckIfThenElseGuardVisitor(std::set< storm::expressions::Variable > const &variables)
bool check(storm::expressions::Expression const &expression)
boost::any accept(ExpressionVisitor &visitor, boost::any const &data) const
Accepts the given visitor.
std::shared_ptr< BaseExpression const > getElseExpression() const
Retrieves the else expression of the if-then-else expression.
std::shared_ptr< BaseExpression const > getCondition() const
Retrieves the condition expression of the if-then-else expression.
std::shared_ptr< BaseExpression const > getThenExpression() const
Retrieves the then expression of the if-then-else expression.
virtual std::shared_ptr< BaseExpression const > getOperand(uint_fast64_t operandIndex) const override
Retrieves the given operand from the expression.