#define ARITH_INSTANTIATOR_USE_MINUS_DELTA
-InstStrategyCbqi::InstStrategyCbqi( QuantifiersEngine * qe ) : QuantifiersModule( qe ), d_added_cbqi_lemma( qe->getUserContext() ){
-
+InstStrategyCbqi::InstStrategyCbqi( QuantifiersEngine * qe )
+ : QuantifiersModule( qe )
+ , d_added_cbqi_lemma( qe->getUserContext() ){
}
+InstStrategyCbqi::~InstStrategyCbqi() throw(){}
+
bool InstStrategyCbqi::needsCheck( Theory::Effort e ) {
return e>=Theory::EFFORT_LAST_CALL;
}
}
-InstStrategyCegqi::InstStrategyCegqi( QuantifiersEngine * qe ) : InstStrategyCbqi( qe ) {
+InstStrategyCegqi::InstStrategyCegqi( QuantifiersEngine * qe )
+ : InstStrategyCbqi( qe ) {
d_out = new CegqiOutputInstStrategy( this );
d_small_const = NodeManager::currentNM()->mkConst( Rational(1)/Rational(1000000) );
}
+InstStrategyCegqi::~InstStrategyCegqi() throw () {
+ delete d_out;
+}
+
void InstStrategyCegqi::processResetInstantiationRound( Theory::Effort effort ) {
d_check_vts_lemma_lc = true;
}
virtual void process( Node q, Theory::Effort effort, int e ) = 0;
public:
InstStrategyCbqi( QuantifiersEngine * qe );
- ~InstStrategyCbqi() throw() {}
+ ~InstStrategyCbqi() throw();
/** whether to do CBQI for quantifier q */
bool doCbqi( Node q );
/** process functions */
void registerCounterexampleLemma( Node q, Node lem );
public:
InstStrategyCegqi( QuantifiersEngine * qe );
- ~InstStrategyCegqi() throw() {}
+ ~InstStrategyCegqi() throw();
bool addInstantiation( std::vector< Node >& subs );
bool isEligibleForInstantiation( Node n );