diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-02-04 16:55:00 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-04 16:55:00 -0600 |
commit | 0bcaeb9cd75ec2268b6fe237bc037865d5122b5a (patch) | |
tree | f0d5efa61e6c839720d5494b33113520e59a5cd8 /src/theory/quantifiers/quantifiers_attributes.cpp | |
parent | d89ff37c2dfbd91dd89169ad5dda06b5cc8f0a7b (diff) |
Introduce quantifiers registry utility (#5829)
This is a simple module for determining which quantifiers module has ownership of quantified formulas.
This is work towards eliminating dependencies of quantifiers modules.
Note that quantifiers attributes module (which no longer has a dependency on QuantifiersEngine after this PR) will be embedded into this module in a later PR.
Diffstat (limited to 'src/theory/quantifiers/quantifiers_attributes.cpp')
-rw-r--r-- | src/theory/quantifiers/quantifiers_attributes.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/theory/quantifiers/quantifiers_attributes.cpp b/src/theory/quantifiers/quantifiers_attributes.cpp index 15715152b..ad5d5dba7 100644 --- a/src/theory/quantifiers/quantifiers_attributes.cpp +++ b/src/theory/quantifiers/quantifiers_attributes.cpp @@ -18,7 +18,6 @@ #include "theory/arith/arith_msum.h" #include "theory/quantifiers/sygus/synth_engine.h" #include "theory/quantifiers/term_util.h" -#include "theory/quantifiers_engine.h" using namespace std; using namespace CVC4::kind; @@ -34,11 +33,8 @@ bool QAttributes::isStandard() const && !d_isInternal; } -QuantAttributes::QuantAttributes( QuantifiersEngine * qe ) : -d_quantEngine(qe) { +QuantAttributes::QuantAttributes() {} -} - void QuantAttributes::setUserAttribute( const std::string& attr, Node n, std::vector< Node >& node_values, std::string str_value ){ Trace("quant-attr-debug") << "Set " << attr << " " << n << std::endl; if (attr == "fun-def") @@ -182,8 +178,6 @@ void QuantAttributes::computeAttributes( Node q ) { } d_fun_defs[f] = true; } - // set ownership of quantified formula q based on the computed attributes - d_quantEngine->setOwner(q, qa); } void QuantAttributes::computeQuantAttributes( Node q, QAttributes& qa ){ |