mirror of
https://github.com/Z3Prover/z3
synced 2026-03-18 11:04:09 +00:00
re-add pb extraction
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
9c77fbc2a9
commit
526d76b447
7 changed files with 118 additions and 94 deletions
|
|
@ -418,5 +418,14 @@ namespace euf {
|
|||
NOT_IMPLEMENTED_YET();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
bool solver::extract_pb(std::function<void(unsigned sz, literal const* c, unsigned k)>& card,
|
||||
std::function<void(unsigned sz, literal const* c, unsigned const* coeffs, unsigned k)>& pb) {
|
||||
if (m_true)
|
||||
return false;
|
||||
for (auto* e : m_extensions)
|
||||
if (!e->extract_pb(card, pb))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue