SMT-RAT
24.02
Toolbox for Strategic and Parallel Satisfiability-Modulo-Theories Solving
|
A reference to a derivation, which is either. More...
#include <derivation.h>
Public Member Functions | |
DerivationRef (const BaseDerivationRef< Properties > &data) | |
DerivationRef (const DelineatedDerivationRef< Properties > &data) | |
DerivationRef (const SampledDerivationRef< Properties > &data) | |
bool | is_null () const |
bool | is_sampled () const |
auto & | base_ref () |
auto & | delineated_ref () |
auto & | sampled_ref () |
const auto & | base_ref () const |
const auto & | delineated_ref () const |
const auto & | sampled_ref () const |
auto & | base () |
auto & | delineated () |
auto & | sampled () |
const auto & | base () const |
const auto & | delineated () const |
const auto & | sampled () const |
Private Attributes | |
std::variant< BaseDerivationRef< Properties >, DelineatedDerivationRef< Properties >, SampledDerivationRef< Properties > > | m_data |
Friends | |
template<typename P > | |
bool | operator== (const DerivationRef< P > &lhs, const DerivationRef< P > &rhs) |
template<typename P > | |
bool | operator< (const DerivationRef< P > &lhs, const DerivationRef< P > &rhs) |
A reference to a derivation, which is either.
Memory management is based on std::shared_ptr. A SampledDerivation holds a shared pointer to a DelineatedDerivation, which in turn holds a shared pointer to BaseDerivation. The BaseDerivation holds a DerivationRef to the underlying derivation. Note that not all combinations are legal; i.e. the underlying derivation of a delineated derivation must be a sampled derivation.
Definition at line 38 of file derivation.h.
|
inline |
Definition at line 42 of file derivation.h.
|
inline |
Definition at line 44 of file derivation.h.
|
inline |
Definition at line 46 of file derivation.h.
|
inline |
Definition at line 108 of file derivation.h.
|
inline |
|
inline |
Definition at line 62 of file derivation.h.
|
inline |
|
inline |
Definition at line 111 of file derivation.h.
|
inline |
|
inline |
Definition at line 72 of file derivation.h.
|
inline |
|
inline |
Definition at line 49 of file derivation.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 80 of file derivation.h.
|
inline |
|
friend |
Definition at line 137 of file derivation.h.
|
friend |
Definition at line 133 of file derivation.h.
|
private |
Definition at line 39 of file derivation.h.