mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
adding options to maxres for experiments, include option to pretty print module parameters in smt2 style
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b45b2872d8
commit
83a7d1a658
14 changed files with 249 additions and 131 deletions
|
@ -164,6 +164,10 @@ final_check_status theory_wmaxsat::final_check_eh() {
|
|||
|
||||
void theory_wmaxsat::reset_eh() {
|
||||
theory::reset_eh();
|
||||
reset_local();
|
||||
}
|
||||
|
||||
void theory_wmaxsat::reset_local() {
|
||||
m_vars.reset();
|
||||
m_fmls.reset();
|
||||
m_rweights.reset();
|
||||
|
|
|
@ -17,6 +17,9 @@ Notes:
|
|||
|
||||
--*/
|
||||
|
||||
#ifndef _THEORY_WMAXSAT_H_
|
||||
#define _THEORY_WMAXSAT_H_
|
||||
|
||||
#include "smt_theory.h"
|
||||
#include "smt_clause.h"
|
||||
#include "filter_model_converter.h"
|
||||
|
@ -84,9 +87,7 @@ namespace smt {
|
|||
virtual bool build_models() const {
|
||||
return false;
|
||||
}
|
||||
void reset() {
|
||||
reset_eh();
|
||||
}
|
||||
void reset_local();
|
||||
virtual void reset_eh();
|
||||
virtual theory * mk_fresh(context * new_ctx) { return 0; }
|
||||
virtual bool internalize_atom(app * atom, bool gate_ctx) { return false; }
|
||||
|
@ -123,3 +124,5 @@ namespace smt {
|
|||
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue