mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 04:01:22 +00:00
remove level of indirection for context and ast_manager in smt_theory (#4253)
* remove level of indirection for context and ast_manager in smt_theory Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * add request by #4252 Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * move to def Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com> * int Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
17b8db95c1
commit
becf423c77
57 changed files with 750 additions and 1257 deletions
|
@ -56,7 +56,7 @@ namespace smt {
|
|||
bool_vector m_assigned, m_enabled;
|
||||
stats m_stats;
|
||||
public:
|
||||
theory_wmaxsat(ast_manager& m, generic_model_converter& mc);
|
||||
theory_wmaxsat(context& ctx, ast_manager& m, generic_model_converter& mc);
|
||||
~theory_wmaxsat() override;
|
||||
void get_assignment(bool_vector& result);
|
||||
expr* assert_weighted(expr* fml, rational const& w);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue