|
carl
25.04
Computer ARithmetic Library
|
#include <FormulaContent.h>


Public Member Functions | |
| ~FormulaContent () | |
| Destructor. More... | |
| std::size_t | hash () const |
| std::size_t | id () const |
| bool | is_nary () const |
| bool | operator== (const FormulaContent &_content) const |
Private Member Functions | |
| FormulaContent ()=delete | |
| FormulaContent (const FormulaContent &)=delete | |
| FormulaContent (FormulaContent &&o) | |
| FormulaContent (FormulaType _type, std::size_t _id=0) | |
| Constructs the formula (true), if the given bool is true and the formula (false) otherwise. More... | |
| FormulaContent (Variable _variable) | |
| Constructs a formula being a variable. More... | |
| FormulaContent (Constraint< Pol > &&_constraint) | |
| Constructs a formula being a constraint. More... | |
| FormulaContent (VariableComparison< Pol > &&_variableComparison) | |
| FormulaContent (VariableAssignment< Pol > &&_variableAssignment) | |
| FormulaContent (BVConstraint &&_constraint) | |
| Constructs a formula being a bitvector constraint. More... | |
| FormulaContent (UEquality &&_ueq) | |
| Constructs a formula being an uninterpreted equality. More... | |
| FormulaContent (FormulaType _type, Formula< Pol > &&_subformula) | |
| Constructs a formula of the given type with a single subformula. More... | |
| FormulaContent (FormulaType _type, const std::initializer_list< Formula< Pol >> &_subformula) | |
| FormulaContent (FormulaType _type, Formulas< Pol > &&_subformula) | |
| FormulaContent (FormulaType _type, std::vector< carl::Variable > &&_vars, const Formula< Pol > &_term) | |
| Constructs a quantifier expression: (exists (vars) term) or (forall (vars) term) More... | |
| FormulaContent (FormulaType _type, std::vector< carl::Variable > &&_vars, const Formula< Pol > &_aux_term, const Formula< Pol > &_term) | |
Private Attributes | |
| size_t | mHash = 0 |
| The hash value. More... | |
| size_t | mId = 0 |
| The unique id. More... | |
| double | mActivity = 0.0 |
| The activity for this formula, which means, how much is this formula involved in the solving procedure. More... | |
| size_t | mUsages = 0 |
| The number of formulas existing with this content. More... | |
| FormulaType | mType |
| The type of this formula. More... | |
| std::variant< carl::Variable, Constraint< Pol >, VariableComparison< Pol >, VariableAssignment< Pol >, BVConstraint, UEquality, Formula< Pol >, Formulas< Pol >, QuantifierContent< Pol >, AuxQuantifierContent< Pol > > | mContent |
| The content of this formula. More... | |
| const FormulaContent< Pol > * | mNegation = nullptr |
| The negation. More... | |
| Condition | mProperties |
| The propositions of this formula. More... | |
| Variables * | mpVariables = nullptr |
| Container collecting the variables which occur in this formula. More... | |
Friends | |
| class | Formula< Pol > |
| class | FormulaPool< Pol > |
| template<typename P > | |
| std::ostream & | operator<< (std::ostream &os, const FormulaContent< P > &f) |
Definition at line 147 of file FormulaContent.h.
|
privatedelete |
|
privatedelete |
|
inlineprivate |
Definition at line 193 of file FormulaContent.h.
|
private |
Constructs the formula (true), if the given bool is true and the formula (false) otherwise.
| _true | Specifies whether to create the formula (true) or (false). |
| _id | A unique id of the formula to create. |
|
private |
Constructs a formula being a variable.
| _variable |
|
private |
Constructs a formula being a constraint.
| _constraint | The pointer to the constraint. |
|
private |
|
private |
|
private |
Constructs a formula being a bitvector constraint.
| _constraint | The pointer to the constraint. |
|
private |
Constructs a formula being an uninterpreted equality.
| _ueq | The pointer to the constraint. |
|
private |
Constructs a formula of the given type with a single subformula.
This is usually a negation.
|
private |
|
private |
|
private |
Constructs a quantifier expression: (exists (vars) term) or (forall (vars) term)
| _type | The type of the quantifier to construct. |
| _vars | The variables that are bound. |
| _term | The term in which the variables are bound. |
|
private |
|
inline |
Destructor.
Definition at line 256 of file FormulaContent.h.
|
inline |
|
inline |
Definition at line 264 of file FormulaContent.h.
|
inline |
| bool carl::FormulaContent< Pol >::operator== | ( | const FormulaContent< Pol > & | _content | ) | const |
Definition at line 140 of file FormulaContent.h.
|
friend |
Definition at line 140 of file FormulaContent.h.
|
friend |
|
mutableprivate |
The activity for this formula, which means, how much is this formula involved in the solving procedure.
Definition at line 162 of file FormulaContent.h.
|
private |
The content of this formula.
Definition at line 177 of file FormulaContent.h.
|
private |
The hash value.
Definition at line 158 of file FormulaContent.h.
|
private |
The unique id.
Definition at line 160 of file FormulaContent.h.
|
private |
The negation.
Definition at line 179 of file FormulaContent.h.
|
private |
The propositions of this formula.
Definition at line 181 of file FormulaContent.h.
|
mutableprivate |
Container collecting the variables which occur in this formula.
Definition at line 189 of file FormulaContent.h.
|
private |
The type of this formula.
Definition at line 166 of file FormulaContent.h.
|
mutableprivate |
The number of formulas existing with this content.
Definition at line 164 of file FormulaContent.h.