mirror of
https://github.com/Z3Prover/z3
synced 2025-04-30 12:25:51 +00:00
updated sat_smt
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e9a4e486ae
commit
86310a1a27
15 changed files with 389 additions and 437 deletions
|
@ -47,12 +47,12 @@ namespace sat {
|
|||
\brief compute the value for enode \c n and store the value in \c values
|
||||
for the root of the class of \c n.
|
||||
*/
|
||||
virtual void add_value(euf::enode* n, expr_ref_vector& values) = 0;
|
||||
virtual void add_value(euf::enode* n, expr_ref_vector& values) {}
|
||||
|
||||
/**
|
||||
\brief compute dependencies for node n
|
||||
*/
|
||||
virtual void add_dep(euf::enode* n, top_sort<euf::enode>& dep) = 0;
|
||||
virtual void add_dep(euf::enode* n, top_sort<euf::enode>& dep) {}
|
||||
|
||||
/**
|
||||
\brief should function be included in model.
|
||||
|
@ -61,24 +61,10 @@ namespace sat {
|
|||
};
|
||||
|
||||
class th_solver : public extension, public th_model_builder, public th_decompile, public th_internalizer {
|
||||
|
||||
public:
|
||||
virtual ~th_solver() {}
|
||||
|
||||
/**
|
||||
\brief compute the value for enode \c n and store the value in \c values
|
||||
for the root of the class of \c n.
|
||||
*/
|
||||
virtual void add_value(euf::enode* n, expr_ref_vector& values) = 0;
|
||||
|
||||
/**
|
||||
\brief compute dependencies for node n
|
||||
*/
|
||||
virtual void add_dep(euf::enode* n, top_sort<euf::enode>& dep) = 0;
|
||||
|
||||
/**
|
||||
\brief should function be included in model.
|
||||
*/
|
||||
virtual bool include_func_interp(func_decl* f) const { return false; }
|
||||
virtual th_solver* fresh(solver* s, ast_manager& m, sat_internalizer& si) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue