101 void gatherUFs(std::set<UninterpretedFunction>& ufs)
const {
115 return std::forward_as_tuple(lhs.
negated(), lhs.
lhs(), lhs.
rhs()) == std::forward_as_tuple(rhs.
negated(), rhs.
lhs(), rhs.
rhs());
124 return !(lhs == rhs);
133 return std::forward_as_tuple(lhs.
negated(), lhs.
lhs(), lhs.
rhs()) < std::forward_as_tuple(rhs.
negated(), rhs.
lhs(), rhs.
rhs());
143 return os << ueq.
lhs() << (ueq.
negated() ?
" != " :
" == ") << ueq.
rhs();
carl is the main namespace for the library.
void swap(Variable &lhs, Variable &rhs)
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.
bool operator!=(const BasicConstraint< P > &lhs, const BasicConstraint< P > &rhs)
bool operator==(const BasicConstraint< P > &lhs, const BasicConstraint< P > &rhs)
std::size_t hash_all(Args &&... args)
Hashes an arbitrary number of values.
Implements an uninterpreted equality, that is an equality of either two uninterpreted function instan...
void gatherUVariables(std::set< UVariable > &uvars) const
std::size_t complexity() const
UEquality negation() const
UTerm mRhs
The right-hand side of this uninterpreted equality.
bool mNegated
A flag indicating whether this equality shall hold (if being false) or its negation (if being true),...
void gatherVariables(carlVariables &vars) const
const UTerm & rhs() const
UEquality(const UTerm &lhs, const UTerm &rhs, bool negated)
Constructs an uninterpreted equality.
UEquality(const UEquality &ueq, bool invert)
Copies the given uninterpreted equality.
const UTerm & lhs() const
UEquality & operator=(UEquality &&)=default
void gatherUFs(std::set< UninterpretedFunction > &ufs) const
UEquality(UEquality &&)=default
UEquality & operator=(const UEquality &)=default
UEquality(const UEquality &)=default
UTerm mLhs
The left-hand side of this uninterpreted equality.
std::size_t operator()(const carl::UEquality &ueq) const
Implements an uninterpreted term, that is either an uninterpreted variable or an uninterpreted functi...
void gatherUFs(std::set< UninterpretedFunction > &ufs) const
std::size_t complexity() const
void gatherVariables(carlVariables &vars) const