mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 08:28:44 +00:00
fixes to trim
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f0d3cbe39d
commit
4ad3324d2e
2 changed files with 35 additions and 48 deletions
|
@ -47,10 +47,16 @@ namespace sat {
|
|||
return a == b;
|
||||
}
|
||||
};
|
||||
map<literal_vector, clause_vector, hash, eq> m_clauses;
|
||||
map<literal_vector, unsigned, hash, eq> m_clause2id;
|
||||
|
||||
hashtable<literal_vector, hash, eq> m_core_literals;
|
||||
|
||||
struct clause_info {
|
||||
clause_vector m_clauses;
|
||||
unsigned m_id = 0;
|
||||
bool m_in_core = false;
|
||||
};
|
||||
|
||||
|
||||
map<literal_vector, clause_info, hash, eq> m_clauses;
|
||||
bool_vector m_propagated;
|
||||
|
||||
void del(literal_vector const& cl, clause* cp);
|
||||
|
@ -65,7 +71,6 @@ namespace sat {
|
|||
bool in_core(literal_vector const& cl) const;
|
||||
void revive(literal_vector const& cl, clause* cp);
|
||||
clause* del(literal_vector const& cl);
|
||||
void save(literal_vector const& lits, clause* cl);
|
||||
|
||||
uint_set m_units;
|
||||
bool unit_or_binary_occurs();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue