mirror of
https://github.com/Z3Prover/z3
synced 2026-03-04 04:30:23 +00:00
reorg monomials
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
fa6091dc16
commit
8a49002f60
5 changed files with 58 additions and 9 deletions
|
|
@ -22,6 +22,7 @@ Author:
|
|||
#include "ast/sls/sls_basic_plugin.h"
|
||||
#include "ast/ast_ll_pp.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "smt/params/smt_params_helper.hpp"
|
||||
|
||||
namespace sls {
|
||||
|
||||
|
|
@ -42,6 +43,11 @@ namespace sls {
|
|||
register_plugin(alloc(basic_plugin, *this));
|
||||
}
|
||||
|
||||
void context::updt_params(params_ref const& p) {
|
||||
smt_params_helper smtp(p);
|
||||
m_rand.set_seed(smtp.random_seed());
|
||||
}
|
||||
|
||||
void context::register_plugin(plugin* p) {
|
||||
m_plugins.reserve(p->fid() + 1);
|
||||
m_plugins.set(p->fid(), p);
|
||||
|
|
@ -51,6 +57,12 @@ namespace sls {
|
|||
m_atoms.setx(v, e);
|
||||
m_atom2bool_var.setx(e->get_id(), v, sat::null_bool_var);
|
||||
}
|
||||
|
||||
void context::on_restart() {
|
||||
for (auto p : m_plugins)
|
||||
if (p)
|
||||
p->on_restart();
|
||||
}
|
||||
|
||||
lbool context::check() {
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue