16 case FormulaType::TRUE:
17 case FormulaType::FALSE:
19 case FormulaType::CONSTRAINT:
20 result += carl::complexity(_f.constraint().constr()); break;
21 case FormulaType::BITVECTOR:
22 result += _f.bv_constraint().complexity(); break;
23 case FormulaType::UEQ:
24 result += _f.u_equality().complexity(); break;
carl is the main namespace for the library.
std::size_t complexity(const BasicConstraint< Poly > &c)
void visit(const Formula< Pol > &formula, Visitor func)
Recursively calls func on every subformula.
Represent an SMT formula, which can be an atom for some background theory or a boolean combination of...