mirror of
https://github.com/Z3Prover/z3
synced 2025-08-03 01:40:22 +00:00
adding user-propagator ability
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c13e3ce693
commit
152c95f72a
15 changed files with 305 additions and 21 deletions
|
@ -208,6 +208,15 @@ namespace {
|
|||
return m_context.get_trail();
|
||||
}
|
||||
|
||||
void register_user_propagator(
|
||||
void* ctx,
|
||||
std::function<void(void*, unsigned, expr*)>& fixed_eh,
|
||||
std::function<void(void*)>& push_eh,
|
||||
std::function<void(void*, unsigned)>& pop_eh) override {
|
||||
m_context.register_user_propagator(ctx, fixed_eh, push_eh, pop_eh);
|
||||
}
|
||||
|
||||
|
||||
struct scoped_minimize_core {
|
||||
smt_solver& s;
|
||||
expr_ref_vector m_assumptions;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue