summaryrefslogtreecommitdiff
path: root/Source/VCGeneration/RPFP.cs
diff options
context:
space:
mode:
authorGravatar Ken McMillan <unknown>2013-05-29 18:40:04 -0700
committerGravatar Ken McMillan <unknown>2013-05-29 18:40:04 -0700
commit1996182214a0f2516045c41b845867f4ac410977 (patch)
tree821f1dab699d93c190a6bc5499a0aedad0bb7da1 /Source/VCGeneration/RPFP.cs
parenta9107b72346424a3e6486622cad8284ef731ada9 (diff)
Adding background model to fixedpoint counterexamples and small code contracts fixes
Diffstat (limited to 'Source/VCGeneration/RPFP.cs')
-rw-r--r--Source/VCGeneration/RPFP.cs13
1 files changed, 12 insertions, 1 deletions
diff --git a/Source/VCGeneration/RPFP.cs b/Source/VCGeneration/RPFP.cs
index 9048f0f5..f6a42a43 100644
--- a/Source/VCGeneration/RPFP.cs
+++ b/Source/VCGeneration/RPFP.cs
@@ -566,10 +566,21 @@ namespace Microsoft.Boogie
public List<Node> nodes = new List<Node>();
};
+ /** Set the model of the background theory used in a counterexample. */
+ public void SetBackgroundModel(Model m)
+ {
+ dualModel = m;
+ }
+
+ /** Set the model of the background theory used in a counterexample. */
+ public Model GetBackgroundModel()
+ {
+ return dualModel;
+ }
private int nodeCount = 0;
private int edgeCount = 0;
- // private Model dualModel;
+ private Model dualModel;
// private LabeledLiterals dualLabels;
private Stack<stack_entry> stack;
public List<Node> nodes = new List<Node>();