diff options
author | Ken McMillan <unknown> | 2013-05-29 18:40:04 -0700 |
---|---|---|
committer | Ken McMillan <unknown> | 2013-05-29 18:40:04 -0700 |
commit | 1996182214a0f2516045c41b845867f4ac410977 (patch) | |
tree | 821f1dab699d93c190a6bc5499a0aedad0bb7da1 /Source/VCGeneration/RPFP.cs | |
parent | a9107b72346424a3e6486622cad8284ef731ada9 (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.cs | 13 |
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>();
|