diff options
author | akashlal <unknown> | 2010-11-28 04:50:16 +0000 |
---|---|---|
committer | akashlal <unknown> | 2010-11-28 04:50:16 +0000 |
commit | 143f8964652e130f690b9127e5df19b0b7f366db (patch) | |
tree | de31b2dbaba8a8a48a710575b59d7cbfdbdf305b /Source/Provers/Z3api/ProverLayer.cs | |
parent | dba0baa52e11abca08701b0b0a4f354e64d9a603 (diff) |
Added CheckAssumptions api interface
Diffstat (limited to 'Source/Provers/Z3api/ProverLayer.cs')
-rw-r--r-- | Source/Provers/Z3api/ProverLayer.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Provers/Z3api/ProverLayer.cs b/Source/Provers/Z3api/ProverLayer.cs index a5f2d6be..750e4a00 100644 --- a/Source/Provers/Z3api/ProverLayer.cs +++ b/Source/Provers/Z3api/ProverLayer.cs @@ -100,6 +100,13 @@ namespace Microsoft.Boogie.Z3 outcome = cm.Check(out z3LabelModels);
}
+ public override void CheckAssumptions(List<VCExpr> assumptions)
+ {
+ Z3SafeContext cm = context.cm;
+ LineariserOptions linOptions = new Z3LineariserOptions(false, (Z3InstanceOptions)this.options, new List<VCExprVar>());
+ outcome = cm.CheckAssumptions(assumptions, linOptions, out z3LabelModels);
+ }
+
public override void Push()
{
Z3SafeContext cm = context.cm;
|