#include <BVConstraint.h>
Definition at line 16 of file BVConstraint.h.
◆ BVConstraint() [1/2]
carl::BVConstraint::BVConstraint |
( |
bool |
_consistent = true | ) |
|
|
inlineexplicitprivate |
◆ BVConstraint() [2/2]
Constructs the constraint: _lhs _relation _rhs.
- Parameters
-
_lhs | The bit-vector term to be used as left-hand side of the constraint. |
_rhs | The bit-vector term to be used as right-hand side of the constraint. |
_relation | The relation symbol to be used for the constraint. |
Definition at line 40 of file BVConstraint.h.
◆ complexity()
std::size_t carl::BVConstraint::complexity |
( |
| ) |
const |
|
inline |
- Returns
- An approximation of the complexity of this bit vector constraint.
Definition at line 90 of file BVConstraint.h.
◆ create() [1/2]
BVConstraint carl::BVConstraint::create |
( |
bool |
_consistent = true | ) |
|
|
static |
◆ create() [2/2]
◆ gatherBVVariables()
void carl::BVConstraint::gatherBVVariables |
( |
std::set< BVVariable > & |
vars | ) |
const |
|
inline |
◆ gatherVariables()
void carl::BVConstraint::gatherVariables |
( |
carlVariables & |
vars | ) |
const |
|
inline |
◆ hash()
std::size_t carl::BVConstraint::hash |
( |
| ) |
const |
|
inline |
- Returns
- A hash value for this constraint.
Definition at line 83 of file BVConstraint.h.
◆ id()
std::size_t carl::BVConstraint::id |
( |
| ) |
const |
|
inline |
- Returns
- The unique id of this constraint.
Definition at line 76 of file BVConstraint.h.
◆ is_constant()
bool carl::BVConstraint::is_constant |
( |
| ) |
const |
|
inline |
◆ isAlwaysConsistent()
bool carl::BVConstraint::isAlwaysConsistent |
( |
| ) |
const |
|
inline |
◆ isAlwaysInconsistent()
bool carl::BVConstraint::isAlwaysInconsistent |
( |
| ) |
const |
|
inline |
◆ lhs()
const BVTerm& carl::BVConstraint::lhs |
( |
| ) |
const |
|
inline |
- Returns
- The bit-vector term being the left-hand side of this constraint.
Definition at line 55 of file BVConstraint.h.
◆ relation()
- Returns
- The relation symbol of this constraint.
Definition at line 69 of file BVConstraint.h.
◆ rhs()
const BVTerm& carl::BVConstraint::rhs |
( |
| ) |
const |
|
inline |
- Returns
- The bit-vector term being the right-hand side of this constraint.
Definition at line 62 of file BVConstraint.h.
◆ BVConstraintPool
◆ mHash
std::size_t carl::BVConstraint::mHash = 0 |
|
private |
◆ mId
std::size_t carl::BVConstraint::mId = 0 |
|
private |
◆ mLhs
BVTerm carl::BVConstraint::mLhs |
|
private |
The left-hand side of the (in)equality.
Definition at line 23 of file BVConstraint.h.
◆ mRelation
The relation for comparing left- and right-hand side.
Definition at line 21 of file BVConstraint.h.
◆ mRhs
BVTerm carl::BVConstraint::mRhs |
|
private |
The right-hand size of the (in)equality.
Definition at line 25 of file BVConstraint.h.
The documentation for this class was generated from the following files: