20 if (lhs.
id() != 0 && rhs.
id() != 0) {
21 return lhs.
id() == rhs.
id();
26 if (lhs.
id() != 0 && rhs.
id() != 0) {
27 return lhs.
id() < rhs.
id();
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.
bool operator==(const BasicConstraint< P > &lhs, const BasicConstraint< P > &rhs)
static BVConstraintPool & getInstance()
Returns the single instance of this class by reference.
const BVTerm & rhs() const
bool isAlwaysInconsistent() const
bool isAlwaysConsistent() const
const BVTerm & lhs() const
BVCompareRelation relation() const
static BVConstraint create(bool _consistent=true)
ConstConstraintPtr create(bool _consistent=true)