mirror of
https://github.com/Z3Prover/z3
synced 2025-07-03 11:25:40 +00:00
update goal2sat interface to use explicit initialization
This commit is contained in:
parent
500626e814
commit
82d9e4a4fc
5 changed files with 29 additions and 10 deletions
|
@ -1060,16 +1060,21 @@ void goal2sat::operator()(goal const & g, params_ref const & p, sat::solver_core
|
|||
(*m_imp)(g);
|
||||
}
|
||||
|
||||
void goal2sat::operator()(ast_manager& m, unsigned n, expr* const* fmls, params_ref const & p, sat::solver_core & t, atom2bool_var & map, dep2asm_map& dep2asm, bool default_external) {
|
||||
init(m, p, t, map, dep2asm, default_external);
|
||||
void goal2sat::operator()(unsigned n, expr* const* fmls) {
|
||||
SASSERT(m_imp);
|
||||
(*m_imp)(n, fmls);
|
||||
}
|
||||
|
||||
void goal2sat::assumptions(ast_manager& m, unsigned n, expr* const* fmls, params_ref const & p, sat::solver_core & t, atom2bool_var & map, dep2asm_map& dep2asm, bool default_external) {
|
||||
init(m, p, t, map, dep2asm, default_external);
|
||||
void goal2sat::assumptions(unsigned n, expr* const* fmls) {
|
||||
SASSERT(m_imp);
|
||||
m_imp->assumptions(n, fmls);
|
||||
}
|
||||
|
||||
sat::literal goal2sat::internalize(expr* a) {
|
||||
SASSERT(m_imp);
|
||||
return m_imp->internalize(a);
|
||||
}
|
||||
|
||||
|
||||
void goal2sat::get_interpreted_funs(func_decl_ref_vector& funs) {
|
||||
if (m_imp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue