git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1584
e59a4935-1847-0410-ae03-
e826735625c1
printf("CPU time : %g s\n", cpu_time);
}
+ template <class T>
+ int MinisatCore<T>::nClauses()
+ {
+ return s->nClauses();
+ }
+
+ template <class T>
+ bool MinisatCore<T>::simplify()
+ {
+ s->simplify();
+ }
+
+
// I was going to make SimpSolver and Solver instances of this template.
// But I'm not so sure now because I don't understand what eliminate() does in the simp solver.
virtual lbool true_literal() {return ((uint8_t)0);}
virtual lbool false_literal() {return ((uint8_t)1);}
virtual lbool undef_literal() {return ((uint8_t)2);}
+
+ virtual int nClauses();
};
}
;
virtual void setFrozen(Var x)
{}
+ virtual int nClauses()
+ {
+ std::cerr << "Not yet implemented.";
+ exit(1);
+ }
+
+ virtual bool simplify()
+ {
+ std::cerr << "Not yet implemented.";
+ exit(1);
+
+ }
};
};
#endif