3 #include <boost/variant.hpp>
9 struct BaseSimplifier:
public boost::static_visitor<const ExpressionContent*> {
31 if (res == _ec)
return nullptr;
Class to create the formulas for axioms.
const ExpressionContent * operator()(const carl::Variable &expr) const
const ExpressionContent * operator()(const BinaryExpression &expr) const
const ExpressionContent * operator()(const ExpressionContent *_ec) const
const ExpressionContent * operator()(const QuantifierExpression &expr) const
const ExpressionContent * operator()(const ITEExpression &expr) const
virtual const ExpressionContent * simplify(const ITEExpression &) const
virtual const ExpressionContent * simplify(const carl::Variable &) const
virtual const ExpressionContent * simplify(const UnaryExpression &) const
virtual const ExpressionContent * simplify(const QuantifierExpression &) const
virtual const ExpressionContent * simplify(const NaryExpression &) const
const ExpressionContent * operator()(const UnaryExpression &expr) const
virtual const ExpressionContent * simplify(const BinaryExpression &) const
const ExpressionContent * operator()(const NaryExpression &expr) const