mirror of
https://github.com/Z3Prover/z3
synced 2025-10-10 17:58:06 +00:00
totalizer
This commit is contained in:
parent
959a0ba370
commit
94a2477fa0
6 changed files with 25 additions and 37 deletions
|
@ -26,11 +26,17 @@ namespace opt {
|
|||
node* m_right = nullptr;
|
||||
expr_ref_vector m_literals;
|
||||
node(expr_ref_vector& l): m_literals(l) {}
|
||||
~node() {
|
||||
dealloc(m_left);
|
||||
dealloc(m_right);
|
||||
}
|
||||
unsigned size() const { return m_literals.size(); }
|
||||
|
||||
};
|
||||
|
||||
ast_manager& m;
|
||||
expr_ref_vector m_literals;
|
||||
node* m_tree = nullptr;
|
||||
node* m_root = nullptr;
|
||||
expr_ref_vector m_clauses;
|
||||
vector<std::pair<expr_ref, expr_ref>> m_defs;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue