Go to the documentation of this file.
36 :
cnft(message_handler), out(_out)
68 for(
size_t j=0; j<clause.size(); j++)
70 out << clause[j].dimacs() <<
" ";
81 std::size_t count = 0;
82 std::stringstream output_block;
83 for(clausest::const_iterator it=
clauses.begin();
91 out << output_block.str();
97 out << output_block.str();
#define UNREACHABLE
This should be used to mark dead code.
void write_clauses(std::ostream &out)
void write_problem_line(std::ostream &out)
virtual void write_dimacs_cnf(std::ostream &out)
std::vector< literalt > bvt
dimacs_cnf_dumpt(std::ostream &_out, message_handlert &message_handler)
void lcnf(const bvt &bv) override
Magic numbers used throughout the codebase.
const std::size_t CNF_DUMP_BLOCK_SIZE
static void write_dimacs_clause(const bvt &, std::ostream &, bool break_lines)
dimacs_cnft(message_handlert &)
bool is_in_conflict(literalt l) const override
Returns true if an assumption is in the final conflict.
void set_assignment(literalt a, bool value) override
virtual size_t no_variables() const override