}
}
-TseitinCnfStream::TseitinCnfStream(SatInputInterface* satSolver, theory::Registrar registrar) :
- CnfStream(satSolver, registrar) {
+TseitinCnfStream::TseitinCnfStream(SatInputInterface* satSolver, theory::Registrar registrar, bool fullLitToNodeMap) :
+ CnfStream(satSolver, registrar, fullLitToNodeMap) {
}
void CnfStream::assertClause(TNode node, SatClause& c) {
* @param satSolver the sat solver to use
* @param registrar the entity that takes care of preregistration of Nodes
* @param fullLitToNodeMap maintain a full SAT-literal-to-Node mapping,
- * even for non-theory literals.
+ * even for non-theory literals
*/
CnfStream(SatInputInterface* satSolver, theory::Registrar registrar, bool fullLitToNodeMap = false);
* Constructs the stream to use the given sat solver.
* @param satSolver the sat solver to use
* @param registrar the entity that takes care of pre-registration of Nodes
+ * @param fullLitToNodeMap maintain a full SAT-literal-to-Node mapping,
+ * even for non-theory literals
*/
- TseitinCnfStream(SatInputInterface* satSolver, theory::Registrar registrar);
+ TseitinCnfStream(SatInputInterface* satSolver, theory::Registrar registrar, bool fullLitToNodeMap = false);
private:
d_satSolver = new SatSolver(this, d_theoryEngine, d_context);
theory::Registrar registrar(d_theoryEngine);
- d_cnfStream = new CVC4::prop::TseitinCnfStream(d_satSolver, registrar);
+ d_cnfStream = new CVC4::prop::TseitinCnfStream(d_satSolver, registrar, Options::current()->threads > 1);
d_satSolver->setCnfStream(d_cnfStream);
}