carl
24.04
Computer ARithmetic Library
|
Represent a polynomial (in)equality against zero. More...
#include <BasicConstraint.h>
Public Member Functions | |
BasicConstraint (bool is_true) | |
BasicConstraint (const Pol &lhs, const Relation rel) | |
BasicConstraint (Pol &&lhs, const Relation rel) | |
const Pol & | lhs () const |
void | set_lhs (Pol &&lhs) |
Relation | relation () const |
void | set_relation (Relation rel) |
size_t | hash () const |
bool | is_trivial_true () const |
bool | is_trivial_false () const |
unsigned | is_consistent () const |
BasicConstraint< Pol > | negation () const |
Private Attributes | |
Pol | m_lhs |
The polynomial which is compared by this constraint to zero. More... | |
Relation | m_relation |
The relation symbol comparing the polynomial considered by this constraint to zero. More... | |
std::size_t | m_hash |
Cache for the hash. More... | |
Represent a polynomial (in)equality against zero.
Such an (in)equality can be seen as an atomic formula/atom for the theory of real arithmetic.
Definition at line 15 of file BasicConstraint.h.
|
inline |
Definition at line 24 of file BasicConstraint.h.
|
inline |
Definition at line 26 of file BasicConstraint.h.
|
inline |
Definition at line 28 of file BasicConstraint.h.
|
inline |
Definition at line 63 of file BasicConstraint.h.
|
inline |
Definition at line 95 of file BasicConstraint.h.
|
inline |
Definition at line 81 of file BasicConstraint.h.
|
inline |
Definition at line 67 of file BasicConstraint.h.
|
inline |
Definition at line 33 of file BasicConstraint.h.
|
inline |
|
inline |
Definition at line 48 of file BasicConstraint.h.
|
inline |
Definition at line 40 of file BasicConstraint.h.
|
inline |
Definition at line 55 of file BasicConstraint.h.
|
private |
Cache for the hash.
Definition at line 21 of file BasicConstraint.h.
|
private |
The polynomial which is compared by this constraint to zero.
Definition at line 17 of file BasicConstraint.h.
|
private |
The relation symbol comparing the polynomial considered by this constraint to zero.
Definition at line 19 of file BasicConstraint.h.