48 std::string qbf_tmp_file=
"qube.qdimacs";
49 std::string result_tmp_file=
"qube.out";
52 std::ofstream out(qbf_tmp_file.c_str());
62 (
"QuBE "+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);
87 else if(line==
"s cnf 1")
size_t no_clauses() const override
virtual size_t no_variables() const override
mstreamt & status() const
qbf_qubet(message_handlert &message_handler)
std::string solver_text() const override
tvt l_get(literalt a) const override
virtual resultt prop_solve()
virtual void write_qdimacs_cnf(std::ostream &out)
#define CHECK_RETURN(CONDITION)
#define UNREACHABLE
This should be used to mark dead code.