summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/anti_skolem.h
diff options
context:
space:
mode:
authorTim King <taking@google.com>2016-09-25 20:44:09 -0700
committerTim King <taking@google.com>2016-09-25 20:44:09 -0700
commit7046f077401ab0883bf6ca5d1856ddeaa88da99e (patch)
tree20a645d904d309dd89bf0a7233f2ac549a102b7d /src/theory/quantifiers/anti_skolem.h
parent8cd543e7463fd4d382b9e87df7235ad1b7641a94 (diff)
Adding a destructor to QuantAntiSkolem.
Diffstat (limited to 'src/theory/quantifiers/anti_skolem.h')
-rw-r--r--src/theory/quantifiers/anti_skolem.h46
1 files changed, 28 insertions, 18 deletions
diff --git a/src/theory/quantifiers/anti_skolem.h b/src/theory/quantifiers/anti_skolem.h
index 721371159..48205db9d 100644
--- a/src/theory/quantifiers/anti_skolem.h
+++ b/src/theory/quantifiers/anti_skolem.h
@@ -17,17 +17,39 @@
#ifndef __CVC4__THEORY__QUANT_ANTI_SKOLEM_H
#define __CVC4__THEORY__QUANT_ANTI_SKOLEM_H
-#include "theory/quantifiers_engine.h"
+#include <map>
+#include <vector>
+
+#include "expr/node.h"
+#include "expr/type_node.h"
+#include "context/cdhashset.h"
#include "context/cdo.h"
#include "theory/quantifiers/ce_guided_single_inv.h"
+#include "theory/quantifiers_engine.h"
namespace CVC4 {
namespace theory {
namespace quantifiers {
class QuantAntiSkolem : public QuantifiersModule {
+public:
+ QuantAntiSkolem( QuantifiersEngine * qe );
+ virtual ~QuantAntiSkolem();
+
+ bool sendAntiSkolemizeLemma( std::vector< Node >& quants,
+ bool pconnected = true );
+
+ /* Call during quantifier engine's check */
+ void check( Theory::Effort e, unsigned quant_e );
+ /* Called for new quantifiers */
+ void registerQuantifier( Node q ) {}
+ void assertNode( Node n ) {}
+ /** Identify this module (for debugging, dynamic configuration, etc..) */
+ std::string identify() const { return "QuantAntiSkolem"; }
+
+ private:
typedef context::CDHashSet<Node, NodeHashFunction> NodeSet;
-private:
+
std::map< Node, bool > d_quant_processed;
std::map< Node, SingleInvocationPartition > d_quant_sip;
std::map< Node, std::vector< TypeNode > > d_ask_types;
@@ -54,22 +76,10 @@ private:
bool add( context::Context* c, std::vector< Node >& quants, unsigned index = 0 );
};
CDSkQuantCache * d_sqc;
-public:
- bool sendAntiSkolemizeLemma( std::vector< Node >& quants, bool pconnected = true );
-public:
- QuantAntiSkolem( QuantifiersEngine * qe );
-
- /* Call during quantifier engine's check */
- void check( Theory::Effort e, unsigned quant_e );
- /* Called for new quantifiers */
- void registerQuantifier( Node q ) {}
- void assertNode( Node n ) {}
- /** Identify this module (for debugging, dynamic configuration, etc..) */
- std::string identify() const { return "QuantAntiSkolem"; }
-};
+}; /* class QuantAntiSkolem */
-}
-}
-}
+}/* namespace CVC4::theory::quantifiers */
+}/* namespace CVC4::theory */
+}/* namespace CVC4 */
#endif
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback