summaryrefslogtreecommitdiff
path: root/Source/AIFramework/Polyhedra
diff options
context:
space:
mode:
authorGravatar Michal Moskal <michal@moskal.me>2011-12-07 10:38:22 -0800
committerGravatar Michal Moskal <michal@moskal.me>2011-12-07 10:38:22 -0800
commitf2800362628674094694b1d95bc0ba093745b0d8 (patch)
tree85e397610b76f8fec1ba0dc694f88b834ec93746 /Source/AIFramework/Polyhedra
parentf3c415a4cb9ffeaa67cdcab9ddd6903e61078b31 (diff)
Make set iteration order deterministic
Make the set class generic
Diffstat (limited to 'Source/AIFramework/Polyhedra')
-rw-r--r--Source/AIFramework/Polyhedra/LinearConstraint.cs7
-rw-r--r--Source/AIFramework/Polyhedra/LinearConstraintSystem.cs7
-rw-r--r--Source/AIFramework/Polyhedra/PolyhedraAbstraction.cs5
-rw-r--r--Source/AIFramework/Polyhedra/SimplexTableau.cs4
4 files changed, 12 insertions, 11 deletions
diff --git a/Source/AIFramework/Polyhedra/LinearConstraint.cs b/Source/AIFramework/Polyhedra/LinearConstraint.cs
index 5d1cabd5..ab5e14f8 100644
--- a/Source/AIFramework/Polyhedra/LinearConstraint.cs
+++ b/Source/AIFramework/Polyhedra/LinearConstraint.cs
@@ -9,9 +9,10 @@ namespace Microsoft.AbstractInterpretationFramework {
//using System.Compiler;
using System.Collections;
using Microsoft.Basetypes;
- using IMutableSet = Microsoft.Boogie.Set;
- using HashSet = Microsoft.Boogie.Set;
- using ISet = Microsoft.Boogie.Set;
+ using Set = Microsoft.Boogie.GSet<object>;
+ using IMutableSet = Microsoft.Boogie.GSet<object>;
+ using HashSet = Microsoft.Boogie.GSet<object>;
+ using ISet = Microsoft.Boogie.GSet<object>;
/// <summary>
diff --git a/Source/AIFramework/Polyhedra/LinearConstraintSystem.cs b/Source/AIFramework/Polyhedra/LinearConstraintSystem.cs
index 299d49cf..74e36eae 100644
--- a/Source/AIFramework/Polyhedra/LinearConstraintSystem.cs
+++ b/Source/AIFramework/Polyhedra/LinearConstraintSystem.cs
@@ -11,9 +11,10 @@ namespace Microsoft.AbstractInterpretationFramework {
//using Microsoft.SpecSharp.Collections;
using System.Diagnostics.Contracts;
using Microsoft.Basetypes;
- using IMutableSet = Microsoft.Boogie.Set;
- using HashSet = Microsoft.Boogie.Set;
- using ISet = Microsoft.Boogie.Set;
+
+ using IMutableSet = Microsoft.Boogie.GSet<object>;
+ using ISet = Microsoft.Boogie.GSet<object>;
+ using HashSet = Microsoft.Boogie.GSet<object>;
/// <summary>
/// Represents a system of linear constraints (constraint/frame representations).
diff --git a/Source/AIFramework/Polyhedra/PolyhedraAbstraction.cs b/Source/AIFramework/Polyhedra/PolyhedraAbstraction.cs
index 44abfed6..06c0f483 100644
--- a/Source/AIFramework/Polyhedra/PolyhedraAbstraction.cs
+++ b/Source/AIFramework/Polyhedra/PolyhedraAbstraction.cs
@@ -11,9 +11,8 @@ namespace Microsoft.AbstractInterpretationFramework {
using System.Diagnostics.Contracts;
using Microsoft.Basetypes;
- using ISet = Microsoft.Boogie.Set;
- using HashSet = Microsoft.Boogie.Set;
-
+ using ISet = Microsoft.Boogie.GSet<object>;
+ using HashSet = Microsoft.Boogie.GSet<object>;
/// <summary>
/// Represents an invariant over linear variable constraints, represented by a polyhedron.
diff --git a/Source/AIFramework/Polyhedra/SimplexTableau.cs b/Source/AIFramework/Polyhedra/SimplexTableau.cs
index 4c37e980..4d734c27 100644
--- a/Source/AIFramework/Polyhedra/SimplexTableau.cs
+++ b/Source/AIFramework/Polyhedra/SimplexTableau.cs
@@ -8,8 +8,8 @@ namespace Microsoft.AbstractInterpretationFramework {
using System;
using System.Diagnostics.Contracts;
using Microsoft.Basetypes;
- using IMutableSet = Microsoft.Boogie.Set;
- using HashSet = Microsoft.Boogie.Set;
+ using IMutableSet = Microsoft.Boogie.GSet<object>;
+ using HashSet = Microsoft.Boogie.GSet<object>;
/// <summary>