mirror of
https://github.com/Z3Prover/z3
synced 2025-08-22 19:17:53 +00:00
integrating duality
This commit is contained in:
parent
8488ca24d2
commit
feb5360999
9 changed files with 473 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue