|
carl
25.04
Computer ARithmetic Library
|
Implements an uninterpreted term, that is either an uninterpreted variable or an uninterpreted function instance. More...
#include <UTerm.h>
Public Member Functions | |
| UTerm ()=default | |
| Default constructor. More... | |
| UTerm (UVariable v) | |
| UTerm (UFInstance ufi) | |
| UTerm (const Super &term) | |
| Constructs an uninterpreted term. More... | |
| const auto & | asVariant () const |
| bool | isUVariable () const |
| bool | isUFInstance () const |
| UVariable | asUVariable () const |
| UFInstance | asUFInstance () const |
| Sort | domain () const |
| std::size_t | complexity () const |
| void | gatherVariables (carlVariables &vars) const |
| void | gatherUFs (std::set< UninterpretedFunction > &ufs) const |
Private Types | |
| using | Super = std::variant< UVariable, UFInstance > |
Private Attributes | |
| Super | mTerm |
Implements an uninterpreted term, that is either an uninterpreted variable or an uninterpreted function instance.
|
private |
|
default |
Default constructor.
|
inline |
|
inlineexplicit |
|
inline |
Definition at line 69 of file UTerm.h.


|
inline |
|
inline |
| std::size_t carl::UTerm::complexity | ( | ) | const |
| Sort carl::UTerm::domain | ( | ) | const |
| void carl::UTerm::gatherUFs | ( | std::set< UninterpretedFunction > & | ufs | ) | const |
| void carl::UTerm::gatherVariables | ( | carlVariables & | vars | ) | const |
|
inline |
Definition at line 55 of file UTerm.h.

|
inline |