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();
virtual size_t no_variables() const override
dimacs_cnf_dumpt(std::ostream &_out, message_handlert &message_handler)
void lcnf(const bvt &bv) override
bool is_in_conflict(literalt l) const override
Returns true if an assumption is in the final conflict.
dimacs_cnft(message_handlert &)
void write_clauses(std::ostream &out) const
static void write_dimacs_clause(const bvt &, std::ostream &, bool break_lines)
void set_assignment(literalt a, bool value) override
virtual void write_dimacs_cnf(std::ostream &out) const
void write_problem_line(std::ostream &out) const
std::vector< literalt > bvt
Magic numbers used throughout the codebase.
const std::size_t CNF_DUMP_BLOCK_SIZE
#define UNREACHABLE
This should be used to mark dead code.