48 std::string qbf_tmp_file=
"sKizzo.qdimacs";
49 std::string result_tmp_file=
"sKizzo.out";
52 std::ofstream out(qbf_tmp_file.c_str());
62 "sKizzo "+qbf_tmp_file+options+
" > "+result_tmp_file).c_str());
69 std::ifstream in(result_tmp_file.c_str());
71 bool result_found=
false;
76 std::getline(in, line);
78 if(!line.empty() && line[line.size() - 1] ==
'\r')
79 line.resize(line.size()-1);
81 if(line==
"The instance evaluates to TRUE.")
87 else if(line==
"The instance evaluates to FALSE.")
size_t no_clauses() const override
virtual size_t no_variables() const override
mstreamt & status() const
virtual resultt prop_solve()
std::string solver_text() const override
tvt l_get(literalt a) const override
qbf_skizzot(message_handlert &message_handler)
virtual void write_qdimacs_cnf(std::ostream &out)
#define CHECK_RETURN(CONDITION)
#define UNREACHABLE
This should be used to mark dead code.