3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-07 08:21:56 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2014-08-13 01:22:45 -07:00
parent cafb31ff94
commit 999db1e280
6 changed files with 92 additions and 168 deletions

View file

@ -58,6 +58,7 @@ namespace sat {
unsigned m_del_clause;
unsigned m_minimized_lits;
unsigned m_dyn_sub_res;
unsigned m_non_learned_generation;
stats() { reset(); }
void reset();
void collect_statistics(statistics & st) const;
@ -173,7 +174,7 @@ namespace sat {
void mk_clause(literal l1, literal l2, literal l3);
protected:
void del_clause(clause & c) { m_cls_allocator.del_clause(&c); m_stats.m_del_clause++; }
void del_clause(clause & c);
clause * mk_clause_core(unsigned num_lits, literal * lits, bool learned);
void mk_bin_clause(literal l1, literal l2, bool learned);
bool propagate_bin_clause(literal l1, literal l2);