18 [](
UVariable var) {
return var.domain(); },
19 [](
UFInstance ufi) {
return ufi.uninterpretedFunction().codomain(); },
25 [](
UVariable) {
return static_cast<std::size_t
>(1); },
26 [](
UFInstance ufi) {
return ufi.complexity(); },
33 [&vars](
UFInstance ufi) { ufi.gatherVariables(vars); },
40 [&ufs](
UFInstance ufi) { ufi.gatherUFs(ufs); },
48 [](
const auto&,
const auto&) {
return false; },
61 [](
const auto&,
const auto&) {
return false; },
67 [&os](
UVariable var) ->
auto& {
return os << var; },
68 [&os](
UFInstance ufi) ->
auto& {
return os << ufi; },
carl is the main namespace for the library.
bool operator<(const BasicConstraint< P > &lhs, const BasicConstraint< P > &rhs)
std::ostream & operator<<(std::ostream &os, const BasicConstraint< Poly > &c)
Prints the given constraint on the given stream.
void visit(const Formula< Pol > &formula, Visitor func)
Recursively calls func on every subformula.
bool operator!=(const BasicConstraint< P > &lhs, const BasicConstraint< P > &rhs)
bool operator==(const BasicConstraint< P > &lhs, const BasicConstraint< P > &rhs)
Implements a sort (for defining types of variables and functions).
Implements an uninterpreted function instance.
Implements an uninterpreted term, that is either an uninterpreted variable or an uninterpreted functi...
void gatherUFs(std::set< UninterpretedFunction > &ufs) const
const auto & asVariant() const
std::size_t complexity() const
void gatherVariables(carlVariables &vars) const
Implements an uninterpreted variable.