|
carl
25.04
Computer ARithmetic Library
|
Represent a sum type/variant of an (in)equality between a variable on the left-hand side and multivariateRoot or algebraic real on the right-hand side. More...
#include <VariableComparison.h>

Public Types | |
| using | Number = typename UnderlyingNumberType< Poly >::type |
| using | MR = MultivariateRoot< Poly > |
| using | RAN = typename MultivariateRoot< Poly >::RAN |
Public Member Functions | |
| VariableComparison (Variable v, const std::variant< MR, RAN > &value, Relation rel, bool neg) | |
| VariableComparison (Variable v, const MR &value, Relation rel) | |
| VariableComparison (Variable v, const RAN &value, Relation rel) | |
| Variable | var () const |
| Relation | relation () const |
| bool | negated () const |
| const std::variant< MR, RAN > & | value () const |
| std::variant< MR, RAN > & | value () |
| bool | is_equality () const |
| VariableComparison | negation () const |
| VariableComparison | invert_relation () const |
| VariableComparison | resolve_negation () const |
Private Attributes | |
| Variable | m_var |
| std::variant< MR, RAN > | m_value |
| Relation | m_relation |
| bool | m_negated |
Represent a sum type/variant of an (in)equality between a variable on the left-hand side and multivariateRoot or algebraic real on the right-hand side.
This is basically a special purpose atomic SMT formula. The lhs-variable must does not appear on the rhs.
Definition at line 28 of file VariableComparison.h.
| using carl::VariableComparison< Poly >::MR = MultivariateRoot<Poly> |
Definition at line 31 of file VariableComparison.h.
| using carl::VariableComparison< Poly >::Number = typename UnderlyingNumberType<Poly>::type |
Definition at line 30 of file VariableComparison.h.
| using carl::VariableComparison< Poly >::RAN = typename MultivariateRoot<Poly>::RAN |
Definition at line 32 of file VariableComparison.h.
|
inline |
Definition at line 39 of file VariableComparison.h.


|
inline |
|
inline |
Definition at line 57 of file VariableComparison.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 80 of file VariableComparison.h.


|
inline |
|
inline |
|
inline |
Definition at line 73 of file VariableComparison.h.
|
inline |
|
inline |
|
private |
Definition at line 37 of file VariableComparison.h.
|
private |
Definition at line 36 of file VariableComparison.h.
|
private |
Definition at line 35 of file VariableComparison.h.
|
private |
Definition at line 34 of file VariableComparison.h.