summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/quant_relevance.h
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-08-22 17:40:22 -0500
committerGitHub <noreply@github.com>2018-08-22 17:40:22 -0500
commit9c02423e90cf9cb8509d4ca6565acba06e6f9b2d (patch)
tree8030c67f89b083b695900ade8d8a5d413b569f0f /src/theory/quantifiers/quant_relevance.h
parent810bd1f79ca8416a24d21f72a18b29689d6b57f6 (diff)
More unused code elimination (#2358)
Diffstat (limited to 'src/theory/quantifiers/quant_relevance.h')
-rw-r--r--src/theory/quantifiers/quant_relevance.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/theory/quantifiers/quant_relevance.h b/src/theory/quantifiers/quant_relevance.h
index 75ae32318..21017e783 100644
--- a/src/theory/quantifiers/quant_relevance.h
+++ b/src/theory/quantifiers/quant_relevance.h
@@ -39,7 +39,7 @@ class QuantRelevance : public QuantifiersUtil
* if this is false, then all calls to getRelevance
* return -1.
*/
- QuantRelevance(bool cr) : d_computeRel(cr) {}
+ QuantRelevance() {}
~QuantRelevance() {}
/** reset */
bool reset(Theory::Effort e) override { return true; }
@@ -47,13 +47,6 @@ class QuantRelevance : public QuantifiersUtil
void registerQuantifier(Node q) override;
/** identify */
std::string identify() const override { return "QuantRelevance"; }
- /** set relevance of symbol s to r */
- void setRelevance(Node s, int r);
- /** get relevance of symbol s */
- int getRelevance(Node s)
- {
- return d_relevance.find(s) == d_relevance.end() ? -1 : d_relevance[s];
- }
/** get number of quantifiers for symbol s */
unsigned getNumQuantifiersForSymbol(Node s)
{
@@ -61,8 +54,6 @@ class QuantRelevance : public QuantifiersUtil
}
private:
- /** for computing relevance */
- bool d_computeRel;
/** map from quantifiers to symbols they contain */
std::map<Node, std::vector<Node> > d_syms;
/** map from symbols to quantifiers */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback