42 std::string qbf_tmp_file=
"quantor.qdimacs";
43 std::string result_tmp_file=
"quantor.out";
46 std::ofstream out(qbf_tmp_file.c_str());
54 "quantor "+qbf_tmp_file+
" -o "+result_tmp_file).c_str());
61 std::ifstream in(result_tmp_file.c_str());
63 bool result_found=
false;
68 std::getline(in, line);
70 if(!line.empty() && line[line.size() - 1] ==
'\r')
71 line.resize(line.size()-1);
79 else if(line==
"s FALSE")
size_t no_clauses() const override
virtual size_t no_variables() const override
mstreamt & status() const
qbf_quantort(message_handlert &message_handler)
virtual resultt prop_solve()
tvt l_get(literalt a) const override
std::string solver_text() const override
virtual void write_qdimacs_cnf(std::ostream &out)
#define CHECK_RETURN(CONDITION)
#define UNREACHABLE
This should be used to mark dead code.