3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-22 19:17:53 +00:00

integrating duality

This commit is contained in:
Ken McMillan 2013-04-28 16:29:55 -07:00
parent 8488ca24d2
commit feb5360999
9 changed files with 473 additions and 5 deletions

View file

@ -171,6 +171,7 @@ namespace Duality {
const std::vector<expr> &assumptions,
const std::vector<expr> &theory
){}
virtual ~LogicSolver(){}
};
/** This solver uses iZ3. */
@ -205,8 +206,8 @@ namespace Duality {
}
#endif
iZ3LogicSolver(context c){
ctx = ictx = new interpolating_context(c);
iZ3LogicSolver(context &c){
ctx = ictx = &c;
slvr = islvr = new interpolating_solver(*ictx);
need_goals = false;
islvr->SetWeakInterpolants(true);
@ -221,7 +222,7 @@ namespace Duality {
#endif
}
~iZ3LogicSolver(){
delete ictx;
// delete ictx;
delete islvr;
}
};